Logstash is an open source, server side component used to centralize the collection of log files from multiple sources. It can then transform the structure of data before shipping to one or more destinations. Logstash is typically used with input, filter, and output plugins to control the flow of the data processing pipeline.

Requirements

  • Valid JSON content
  • API key (find this on your dashboard) sent in the headers
  • You must have logstash installed locally.

Configure Logstash output to ship your logs to logit.io via HTTPS

output {
  http {
    url => ["https://api.logit.io/v2"]
    http_method => "put"
    codec => json
    headers => ["ApiKey", "your-api-key", "LogType", "general"]
  }
}

Sending via TCP/UDP

Logit.io supports sending logs via TCP over SSL and UDP (Not recommended) get in touch with us to discuss this for your stack

Talk to support