Skip to content

Instantly share code, notes, and snippets.

@tomasdanjonsson
Created May 8, 2023 01:19
Show Gist options
  • Select an option

  • Save tomasdanjonsson/0559a16c4971fb47523072040f6b0fe2 to your computer and use it in GitHub Desktop.

Select an option

Save tomasdanjonsson/0559a16c4971fb47523072040f6b0fe2 to your computer and use it in GitHub Desktop.
Logstash config file
input {
beats {
port => 5044
}
}
output {
http {
url => "http://nifi:8081/contentListener"
http_method => "post"
format => "message"
message => "%{message}"
content_type => "application/json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment