How to load data in elk by go language?


(yuluopiaoyang) #1

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


(Magnus B├Ąck) #2

Elastic has a Go client (https://github.com/elastic/go-elasticsearch) and there's also https://github.com/olivere/elastic, plus in the end it's just a REST API so depending on what you want to do a plain HTTP client might suffice.


(yuluopiaoyang) #3

Let me have a look. Thank you for your respond!
I thought I need to load data to elastic through logstash.
As you say, I can load data to elastic directly.


(Mark Walkom) #5

Please don't post the same thing in different categories :slight_smile:


(Mark Walkom) #6