I want to know some information about filebeat using golang. Currently, I'm using golang api in that i can use elasticsearch to index my data. Is it possible to use filebeat with that to send data from filebeat to elasticsearch using golang.
If the data is in a file, then yes it can.
Im hitting data using postman
Filebeat can accept data through these inputs - https://www.elastic.co/guide/en/beats/filebeat/current/configuration-filebeat-options.html
So unless you can pass the data to it in this manner, you may not be able to use it.
To my understand data which we need to parse should be in file and confiuration file of filebeat should be in the respective manner so that we can achieve by parsing through golang code. Am i correct?