Using python to import to logstash

Using python to grab data from various sources, in json form, BUT need to normalize field names, and add tags. locations, etc. So I need to get it to logstash(I guess).

Is the easiest way to get it to logstash using python sockets?

input {
  tcp {
      port => 5044
      codec => json
  } 
}

Or is there an even easier way? I've got the python ES client but dont see a way to use that to get the data into logstash.

Thanks

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