Compatibility of Logstash with Graylog and Elasticsearch

I want to configure logstash-5.2.1.

can anyone tell me which Graylog and ElasticSearch version is compatible with this logstash version?

Logstash 5.x should be able to work with Elasticsearch 2.x, which is the only version supported by Graylog at the moment.

Also see

Also if you’re using Logstash to just preprocess logs before sending them to Graylog, then versions don’t matter as much as desired logstash output -> graylog input. For example your logstash could have a beats output plugin, and graylog a beats input, and you’re all set. or you could do it with gelf syslog, or rabbitmq, or… :slight_smile: