Hi,
can anyone help me with my initial logstash+graylog configuration?
I have 4 docker container in total:
Graylog+elasticsearch+mongo
Logstash
So my idea was that I will send all my logs (nxlog inputs) to the Logstash(parser/pipeline) and then results will be sent to Graylog.
nxlog config
logstash.conf:
input {
tcp {
codec => json_lines { charset => CP1252 }
port => "5044"
tags => [ "tcpjson" ]
}
}
output {
stdout { codec => rubydebug }
gelf {
host => 'graylog'
port => 5414
}
}
Sending inputs directly from the nxlog to the Graylog works perfectly.
But they are two main problems with the logstash:
- Gelf as output is not in the default package.
- I do not receive any inputs...
Thank you for any advice.