Hello everyone,
I have a lot of .pcap file in one folder (~10,000). I want import this data to elasticsearch.
As I know, flag "-I" can import just one .pcap file at one time.
Is there any way I can do this? Thanks a lot!
Hello everyone,
I have a lot of .pcap file in one folder (~10,000). I want import this data to elasticsearch.
As I know, flag "-I" can import just one .pcap file at one time.
Is there any way I can do this? Thanks a lot!
@wangyufeng0615 Not out of the box, we mostly use -I
for development purpose, but you can write a simple shell script to loop through all the files.
Also make sure you use -t, so packetbeat read the file as fast as possible.
-t, --t Read packets as fast as possible, without sleeping
Thank you for you advice! @pierhugues
I will try to write a shell script.
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.