How to load data in elk by go language? Any example?

How to load data in elk by go language?Any example?
I want use go language to load data in elk.
I should send data to elastic directly or though logstash?


you may want to take a look at beats which are written in Go and send data either to Elasticsearch or logstash. Especially libbeat might be interesting.

There is also a community written go client available, see


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.