All Apps and Add-ons

Can I use the Splunk App for Stream to monitor or batch read a specified directory to read many PCAP files?

melonman
Motivator

Hi

I have many PCAP files that have been collected in multiple locations, and stored them under /data/pcap directory of my Splunk instance.
I want to batch read or monitor the specified directory to read all the PCAP files under the directory.

Can I do this using Stream App or any other method?

Thanks,

0 Karma
1 Solution

vshcherbakov_sp
Splunk Employee
Splunk Employee

Stream TA (streamfwd binary) can process pcap files using CLI - see http://docs.splunk.com/Documentation/StreamApp/6.3.2/DeployStreamApp/streamfwdcommandlineoptions . You can wrap this command line into a shell script that that iterates over all *.pcap files in a directory for batch processing.

View solution in original post

vshcherbakov_sp
Splunk Employee
Splunk Employee

Stream TA (streamfwd binary) can process pcap files using CLI - see http://docs.splunk.com/Documentation/StreamApp/6.3.2/DeployStreamApp/streamfwdcommandlineoptions . You can wrap this command line into a shell script that that iterates over all *.pcap files in a directory for batch processing.

melonman
Motivator

FYI, I ended up with converting PCAP dump file into XML, and put the XML into batch (sinkhole) directory...

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...