All Apps and Add-ons

Running Stream against old PCAPS

w0lverineNOP
Path Finder

I am trying to run Stream against a few old pcaps. My set up includes the following:
Created a index that is pointing to an uploaded file of old pcaps had the Stream Forwarder pointed to the index
I have my host ip address added to the whitelist and is still being caught and indexed.

Any suggestions?

Tags (2)
1 Solution

rphillips_splk
Splunk Employee
Splunk Employee

Per the doc, you can edit the streamfwd.xml file:

Example 4: Use pcap file instead of network interface
You can also use a previously generated pcap file instead of an actual network interface, using this variation of the element.

<Interface>/tmp/data.cap</Interface>
<Offline>true</Offline>
<Filter>tcp port 80</Filter>
<Repeat>true</Repeat>
<SysTime>true</SysTime>
<BitsPerSecond>10000000</BitsPerSecond>

Should be set to the path of your pcap file
True means use pcap, false means is a network device name
True means to play back the pcap file repeatedly for continuous load
True means to use the system time for packet timestamps
Rate limiter, defaults to 10 Mbps if undefined and is true

http://docs.splunk.com/Documentation/StreamApp/6.1.1/DeployStreamApp/ConfigureStreamForwarder

View solution in original post

rphillips_splk
Splunk Employee
Splunk Employee

Per the doc, you can edit the streamfwd.xml file:

Example 4: Use pcap file instead of network interface
You can also use a previously generated pcap file instead of an actual network interface, using this variation of the element.

<Interface>/tmp/data.cap</Interface>
<Offline>true</Offline>
<Filter>tcp port 80</Filter>
<Repeat>true</Repeat>
<SysTime>true</SysTime>
<BitsPerSecond>10000000</BitsPerSecond>

Should be set to the path of your pcap file
True means use pcap, false means is a network device name
True means to play back the pcap file repeatedly for continuous load
True means to use the system time for packet timestamps
Rate limiter, defaults to 10 Mbps if undefined and is true

http://docs.splunk.com/Documentation/StreamApp/6.1.1/DeployStreamApp/ConfigureStreamForwarder

w0lverineNOP
Path Finder

Thank you!!

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...