<?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 Re: Stream App:  Configuring the streamfwd.xml in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185236#M18491</link>
    <description>&lt;P&gt;&lt;EM&gt;./streamfwd&lt;/EM&gt;    is the answer ha &lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2015 23:14:45 GMT</pubDate>
    <dc:creator>w0lverineNOP</dc:creator>
    <dc:date>2015-03-13T23:14:45Z</dc:date>
    <item>
      <title>Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185227#M18482</link>
      <description>&lt;P&gt;Following the Documentation provided by splunk. I inserted the following in the streamfwd.xml file in &lt;EM&gt;$Splunk_Home/etc/apps/Splunk_TA_stream/local&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;*&lt;BR /&gt;
    &lt;INTERFACE&gt;/opt/splunk/pcaps/data.cap&lt;/INTERFACE&gt;&lt;BR /&gt;
    &lt;OFFLINE&gt;true&lt;/OFFLINE&gt;&lt;BR /&gt;
    &lt;FILTER&gt;tcp port 80 &lt;/FILTER&gt;&lt;BR /&gt;
    &lt;REPEAT&gt;false&lt;/REPEAT&gt;&lt;BR /&gt;
    &lt;SYSTIME&gt;true&lt;/SYSTIME&gt;&lt;BR /&gt;
    &lt;BITSPERSECOND&gt;1000000&lt;/BITSPERSECOND&gt;&lt;BR /&gt;
*&lt;BR /&gt;
I do have "capture" in the xml script  (will not let me add it in their) &lt;BR /&gt;
But I am getting an error in the file: &lt;BR /&gt;
&lt;EM&gt;Checking configuration...Error while parsing '&lt;/EM&gt;/opt/splunk/etc/apps/Splunk_TA_stream/local/streamfwd.xml*' :&lt;BR /&gt;
junk after document element: Line 9 column 0   ; which is the line beginning with  capture &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:13:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185227#M18482</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2020-09-28T19:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185228#M18483</link>
      <description>&lt;P&gt;That message is a generic XML parsing error.  You might want to try opening the file in an XML editor to see what is wrong, or post the entire file here.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 22:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185228#M18483</guid>
      <dc:creator>mdickey_splunk</dc:creator>
      <dc:date>2015-03-12T22:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185229#M18484</link>
      <description>&lt;P&gt;I wish I could upload screen captures but I do not have enough points yet. But imagine  the above script without the 5. and adding  capture at the beginning and the end of the script. &lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 22:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185229#M18484</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2015-03-12T22:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185230#M18485</link>
      <description>&lt;P&gt;In the streamfwd.xml file do I need to delete the previous xml script in it before I add my capture script into the streamfwd.xml? &lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 22:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185230#M18485</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2015-03-12T22:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185231#M18486</link>
      <description>&lt;P&gt;Hi w0lverineNOP,&lt;/P&gt;

&lt;P&gt;You could try this snippet for your Capture section and see if that gets you up and running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Capture&amp;gt;
    &amp;lt;Interface&amp;gt;/opt/splunk/pcaps/data.cap&amp;lt;/Interface&amp;gt;
    &amp;lt;Offline&amp;gt;true&amp;lt;/Offline&amp;gt;
    &amp;lt;Filter&amp;gt;tcp port 80&amp;lt;/Filter&amp;gt;
    &amp;lt;Repeat&amp;gt;false&amp;lt;/Repeat&amp;gt;
    &amp;lt;SysTime&amp;gt;true&amp;lt;/SysTime&amp;gt;
    &amp;lt;BitsPerSecond&amp;gt;1000000&amp;lt;/BitsPerSecond&amp;gt;
&amp;lt;/Capture&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alternatively, if you already have the Splunk_TA_stream set up, and your intention is to perform a one-time ingestion of data from the pcap, you could also trigger streamfwd from the command line with this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/Splunk_TA_stream/linux_x86_64/bin/streamfwd  -r /opt/splunk/pcaps/data.cap -s localhost:8889 -b 1000000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(This is assuming you're running the command from a system that's got the Splunk_TA_stream installed and enabled, and you're on 64bit Linux.  Otherwise substitute the appropriate architecture directory name.)&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Jackson&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185231#M18486</guid>
      <dc:creator>jsie_splunk</dc:creator>
      <dc:date>2020-09-28T19:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185232#M18487</link>
      <description>&lt;P&gt;Yes perfect! but which path do I need to be in to run streamfwd? It says:&lt;BR /&gt;
&lt;EM&gt;Streamfwd command not found&lt;/EM&gt; &lt;/P&gt;

&lt;P&gt;I was in in my &lt;EM&gt;$Splunk_Home&lt;/EM&gt; when I ran the command  &lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185232#M18487</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2015-03-13T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185233#M18488</link>
      <description>&lt;P&gt;Updated... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185233#M18488</guid>
      <dc:creator>jsie_splunk</dc:creator>
      <dc:date>2015-03-13T14:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185234#M18489</link>
      <description>&lt;P&gt;Well that was well hidden. And I ran the command as directed in the ..../bin folder and I am still getting "&lt;EM&gt;streamfwd: command not found&lt;/EM&gt;" error again. &lt;/P&gt;

&lt;P&gt;streamfwd is in the directory. Splunk is running and I ran it as root. ...Give me a few minutes I am going to re-install the whole app again. (I might have fooled with something earlier) &lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 15:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185234#M18489</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2015-03-13T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185235#M18490</link>
      <description>&lt;P&gt;Okay. In the GUI. I get an error once I re-installed the stream app and enabled the streamfwd (had to restart again) it says the following: &lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Unable to intialize the modular input "streamfwd" defined inside the app "Splunk_TA_stream": Unable to locate suitable script for introspection&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I went into the script section and I have 4 scripts (I have no other app installed) and both .py scripts are enabled.  Any suggestions? &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:13:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185235#M18490</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2020-09-28T19:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185236#M18491</link>
      <description>&lt;P&gt;&lt;EM&gt;./streamfwd&lt;/EM&gt;    is the answer ha &lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 23:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185236#M18491</guid>
      <dc:creator>w0lverineNOP</dc:creator>
      <dc:date>2015-03-13T23:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185237#M18492</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I tried the second way by command line and it can work, however the first way that change the xml file doesnt work and I dont know why, could you give me some help, thank you very much&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 08:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185237#M18492</guid>
      <dc:creator>Lindaiyu</dc:creator>
      <dc:date>2015-05-29T08:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185238#M18493</link>
      <description>&lt;P&gt;The only difference between the XML config and the command line above is the &amp;lt;Filter&amp;gt; and &amp;lt;SysTime&amp;gt; nodes.  Try removing those and it should work the same.  It could be that your pcap doesn't contain "tcp port 80" packets.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 23:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185238#M18493</guid>
      <dc:creator>mdickey_splunk</dc:creator>
      <dc:date>2015-05-29T23:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stream App:  Configuring the streamfwd.xml</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185239#M18494</link>
      <description>&lt;P&gt;Yes, because I used a proxy and there is nothing in port 80 when I delete the &amp;lt;filter&amp;gt;, it works now and thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2015 09:23:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Stream-App-Configuring-the-streamfwd-xml/m-p/185239#M18494</guid>
      <dc:creator>Lindaiyu</dc:creator>
      <dc:date>2015-06-01T09:23:15Z</dc:date>
    </item>
  </channel>
</rss>

