...
Element | Description |
---|
<endpoint>
USA: https://http-us.devo.io Europe: https://http-eu.devo.io Canada: https://http-ca.devo.io Asia-Pacific (APAC):
| Use the endpoint that corresponds to the Devo Cloud region you use. |
<mode>
| This can be one of the following: event - Use this mode to send single events. GET and POST methods are accepted. See some examples in the section below.
stream - Use this mode to send multiple events. Only POST is accepted. Use the header Content-Encoding: gzip to send multiple compressed events in your request body. Check an example some examples in the section below.
|
<domain>
| The name of the Devo domain where the events are being sent to. |
<token>
| The token you generated in Devo to authorize your connection. |
<host>
| Specify the required hostname. |
<tag>
| The Devo tag to be applied to the events. Learn more about tags in About Devo tags. |
<message>
| The log to be sent. Note that this is only valid if you’re using the event mode, that is to say, you're sending a single event to Devo. In this case, the event is added to the query string. In case of a POST request in stream mode, events should be added to the request body. See some examples of this in the section below. |
Here is an example of an endpoint URL:
Code Block |
---|
https://http-us.devo.io/event/myDomain/token!a5370g9e8f7d7edf9d/local1/my.app.http.js?this%20is%20a%20example%20of%20log |
...