Sending log payload to ES

(Souciance Eqdam Rashti) #1


We have an application that generates logs which contain data payload. The data payload itself can be json, xml, some random CSV or any other format.

Is it possible to send the logs with the included payload to ES via normal tcp or http and then search view the data (including the data in the payload) in Kibana?

Do we need to configure any filters in logstash?

We are not interested in generating an output but simply to feed to ES data of varying format and be able to search it.



(Mark Walkom) #2

You can do it but the results may not be the best due to the varied formats.
Using Logstash would be better.

(Souciance Eqdam Rashti) #3

But even with logstash, how would you go about doing that? Basically we have logs that have the structure:

blabalbla xml-payload

blablalba json-payload
blablalba<random CSV or other similar format payload

If we were to send this via TCP, would logstash "automagically" parse this?

(Mark Walkom) #4

No it wouldn't, you'd need to figure out a way to run a conditional on it.

(system) #5

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