File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ cURL is a command line utility for transferring data, useful for testing configu
26262 . To send a single text log line using cURL, use the following command. This sends your message as a JSON payload:
2727
2828``` shell
29- curl --location ' https://listener.logz.io :8071?token=<<SHIPPING_TOKEN >>&type=text' \
29+ curl --location ' https://<<LISTENER-HOST>> :8071?token=<<LOG-SHIPPING-TOKEN >>&type=text' \
3030--header ' Content-Type: application/json' \
31- --data ' {"<<test >>": "<<support >>"}'
31+ --data ' {"<<FIELD >>": "<<VALUE >>"}'
3232```
3333
34- Replace ` <<SHIPPING_TOKEN >> ` with your account's shipping token.
34+ Replace ` <<LOG-SHIPPING-TOKEN >> ` with your account's shipping token.
3535
3636::: note
3737The request body is a list of logs in minified JSON format, with each log separated by a newline ` (\n) ` .
@@ -114,4 +114,4 @@ Encounter an issue? See our [log shipping troubleshooting](https://docs.logz.io/
114114
115115
116116
117-
117+
You can’t perform that action at this time.
0 commit comments