Suppose we are loading a file via logstash, how can we display the size of the file using a command in the config file itself?
Thanks in advance.
Suppose we are loading a file via logstash, how can we display the size of the file using a command in the config file itself?
Thanks in advance.
Hi @basha5,
There is no specific command in logstash to check the size of file. However, i found a post where they have mentioned that we can do the same through aggregate filter in logstash to calculate the file size with code block.
Please refer below post it may be helpful for you.
Regards,
Harsh Bajaj
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.