Hello,
I use filebeat to send files to logstash and then logstash parse them.
During the parse, is it possible to do :
if [number_line != "3" ]
{
drop { }
}
To keep only the line 3 of the file ?
Thx you
Hello,
I use filebeat to send files to logstash and then logstash parse them.
During the parse, is it possible to do :
if [number_line != "3" ]
{
drop { }
}
To keep only the line 3 of the file ?
Thx you
No. Filebeat doesn't track the line number, only the file offset.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.