uken / fluent-plugin-elasticsearch

Apache License 2.0
888 stars 309 forks source link

HowTo with Logstash #1006

Closed genofire closed 1 year ago

genofire commented 1 year ago

(check apply)

Is your feature request related to a problem? Please describe.

Please write a documentation, how to use with logstash in between.

Get logstash become an input of http or tcp ? What is the correct codec elk_bulk, fluent or json ? With elk_bulk is a target notwendet?

Maybe write an example logstash file in the README (together with an example setup)

cosmo0920 commented 1 year ago

This plugin does not compatible with logstash. If you want to use it with logstash, you might be able to use logstash-code-fluent and tcp input as described here: https://www.elastic.co/guide/en/logstash/current/plugins-codecs-fluent.html

genofire commented 1 year ago

I setup it with http, elk_bulk and without any target ...

That works find, wish just it is documentated.