Skip to content
share library_books

JSON

Essentials

We support receiving JSON messages from any application, as long as they they contain a valid token. The destination host islogsene-receiver-syslog.sematext.com/ logsene-receiver-syslog.eu.sematext.com (if using Sematext Cloud Europe) and the port we use is 12201, both UDP and TCP.

Example

A quick way to ship messages via TCP syslog is with netcat:

echo '{"logsene-app-token":"LOGSENE_APP_TOKEN_GOES_HERE", "message":"Hello, Logsene!"}' | nc logsene-receiver-syslog.sematext.com 12201