Send SQL script by filebeat

Dear all,

I need to send SQL script by filebeat to ES.

How can i configure it through filebeat config?

Can you elaborate a bit. Do you want to send a complete file to Elasticsearch?

Filebeat sends each line of a file as a separate document. It's intended for log files.

I need send SQL script as whole item, such as java stack trace.

On more question.

Can i send whole file to ES?

Best have a look at the multiline config options: https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html

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