<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic using stream forwarder to forward pcap data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/using-stream-forwarder-to-forward-pcap-data/m-p/428695#M75119</link>
    <description>&lt;P&gt;Hi, I would like to forward pcap data using tcpreplay on a remote machine which has installed a stream forwarder to forward the pcap data to my local machine. In my local machine, I have installed splunk stream but I did not receive any pcap data when I run tcpreplay on my remote machine.&lt;/P&gt;

&lt;P&gt;e.g. I ran this on my remote machine, but it didnt worked. So I tried installing a universal forwarder.&lt;BR /&gt;
./streamfwd -r '/root/Desktop/mypacket.pcap' -s http://:8889&lt;/P&gt;

&lt;P&gt;e.g. using universal forwarder&lt;BR /&gt;
sudo ./splunk add forward-server :9997 &lt;/P&gt;

&lt;P&gt;then I added the directory to monitor.&lt;BR /&gt;
./splunk add monitor /root/Desktop -sourcetype pcap_capture -index wireshark_pcaptest&lt;BR /&gt;
(is that how universal forwarder works like it monitors traffic in the desktop directory since im running tcpreplay on my desktop ?)&lt;/P&gt;

&lt;P&gt;So my question is how do I receive pcap data using the both methods as mentioned above ? Because I want to simulate a real-time traffic through tcpreplay. (please correct my understanding)&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:21:13 GMT</pubDate>
    <dc:creator>weicheng98</dc:creator>
    <dc:date>2020-09-29T20:21:13Z</dc:date>
    <item>
      <title>using stream forwarder to forward pcap data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/using-stream-forwarder-to-forward-pcap-data/m-p/428695#M75119</link>
      <description>&lt;P&gt;Hi, I would like to forward pcap data using tcpreplay on a remote machine which has installed a stream forwarder to forward the pcap data to my local machine. In my local machine, I have installed splunk stream but I did not receive any pcap data when I run tcpreplay on my remote machine.&lt;/P&gt;

&lt;P&gt;e.g. I ran this on my remote machine, but it didnt worked. So I tried installing a universal forwarder.&lt;BR /&gt;
./streamfwd -r '/root/Desktop/mypacket.pcap' -s http://:8889&lt;/P&gt;

&lt;P&gt;e.g. using universal forwarder&lt;BR /&gt;
sudo ./splunk add forward-server :9997 &lt;/P&gt;

&lt;P&gt;then I added the directory to monitor.&lt;BR /&gt;
./splunk add monitor /root/Desktop -sourcetype pcap_capture -index wireshark_pcaptest&lt;BR /&gt;
(is that how universal forwarder works like it monitors traffic in the desktop directory since im running tcpreplay on my desktop ?)&lt;/P&gt;

&lt;P&gt;So my question is how do I receive pcap data using the both methods as mentioned above ? Because I want to simulate a real-time traffic through tcpreplay. (please correct my understanding)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/using-stream-forwarder-to-forward-pcap-data/m-p/428695#M75119</guid>
      <dc:creator>weicheng98</dc:creator>
      <dc:date>2020-09-29T20:21:13Z</dc:date>
    </item>
  </channel>
</rss>

