<?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: Streaming app - netflow - data not parsed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288072#M55069</link>
    <description>&lt;P&gt;This query doesn't return data either (Extracted from flow visualisation)&lt;BR /&gt;
index=* source=stream:Splunk_IP&lt;/P&gt;</description>
    <pubDate>Sat, 31 Mar 2018 09:50:12 GMT</pubDate>
    <dc:creator>heskez</dc:creator>
    <dc:date>2018-03-31T09:50:12Z</dc:date>
    <item>
      <title>Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288067#M55064</link>
      <description>&lt;P&gt;Hi There, I've netflow forwarding configured and streaming app installed. &lt;BR /&gt;
I'm receiving the netflow data: &lt;/P&gt;

&lt;P&gt;sourcetype="stream.netflow"&lt;/P&gt;

&lt;P&gt;3/24/18&lt;BR /&gt;
1:04:26.190 PM &lt;BR /&gt;
{ [-] &lt;BR /&gt;
app: &lt;BR /&gt;
bytes: 0 &lt;BR /&gt;
count: 1 &lt;BR /&gt;
dest_ip: 8.8.8.8 &lt;BR /&gt;
dest_port: 53 &lt;BR /&gt;
drop_packet_count: 0 &lt;BR /&gt;
endtime: 2018-03-24T12:04:26.190502Z &lt;BR /&gt;
packets: 0 &lt;BR /&gt;
packets_in: 1 &lt;BR /&gt;
packets_out: 1 &lt;BR /&gt;
src_ip: 192.168.1.2 &lt;BR /&gt;
src_mac: &lt;BR /&gt;
src_port: 54808 &lt;BR /&gt;
sum(bytes_in): 73 &lt;BR /&gt;
sum(bytes_out): 73 &lt;BR /&gt;
timestamp: 2018-03-24T12:04:26.190502Z &lt;BR /&gt;
}&lt;BR /&gt;
Show as raw text&lt;/P&gt;

&lt;P&gt;However, when i click the Stream application nothing is shown in the dashboard, analytics overview or flow visualization. -&amp;gt; No results found. Looks like the data isn't parsed by Splunk Streaming app.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288067#M55064</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2020-09-29T18:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288068#M55065</link>
      <description>&lt;P&gt;I think you need to look at the SPL behind the dashboards and see if it matches the sourcetype that you have.&lt;BR /&gt;
For example that specific dashboard you mention (Flow Visualization) has the following spl:&lt;/P&gt;

&lt;P&gt;index=* source=stream:Splunk_IP | rex field=src_ip "(?.&lt;EM&gt;).(?.&lt;/EM&gt;).(?.&lt;EM&gt;).(?.&lt;/EM&gt;)" | where src1 NOT null | rex field=dest_ip "(?.&lt;EM&gt;).(?.&lt;/EM&gt;).(?.&lt;EM&gt;).(?.&lt;/EM&gt;)" | where dest1 NOT null | eval source_ip=round(src1+exact(src2*.001), 3) | eval destination_ip=round(dest1+exact(dest2*.001), 3) | eventstats sum(sum(bytes)) as bytes by source_ip, destination_ip | stats latest(source_ip), latest(destination_ip), sum(count) by bytes | rename latest(source_ip) as "Source IP", latest(destination_ip) as "Destination IP", sum(count) as "Flows", bytes as "Bytes", sourcetype as "Sourcetype"&lt;/P&gt;

&lt;P&gt;So take off all spl from that and search only index=* source=stream:Splunk_IP. Do you get any data in verbose mode? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288068#M55065</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2020-09-29T18:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288069#M55066</link>
      <description>&lt;P&gt;When I run the search like that "index=* source=stream:Splunk_IP" I don't get any results..&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288069#M55066</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2018-03-26T11:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288070#M55067</link>
      <description>&lt;P&gt;I do get data running this query btw: &lt;BR /&gt;
index=* source="stream:*" splunk_server="host_ip"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:45:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288070#M55067</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2020-09-29T18:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288071#M55068</link>
      <description>&lt;P&gt;This query doesn't return data (This is extracted from the SPL):&lt;BR /&gt;
index=* source="stream:Splunk_Tcp"&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 09:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288071#M55068</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2018-03-31T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288072#M55069</link>
      <description>&lt;P&gt;This query doesn't return data either (Extracted from flow visualisation)&lt;BR /&gt;
index=* source=stream:Splunk_IP&lt;/P&gt;</description>
      <pubDate>Sat, 31 Mar 2018 09:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288072#M55069</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2018-03-31T09:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288073#M55070</link>
      <description>&lt;P&gt;So next I've created a new stream "fortistream" protocol netflow. &lt;BR /&gt;
Then I've edited the search from the VF dashboard like this:&lt;/P&gt;

&lt;P&gt;index=* source="stream:fortistream"  | rex field=src_ip "(?.&lt;EM&gt;).(?.&lt;/EM&gt;).(?.&lt;EM&gt;).(?.&lt;/EM&gt;)" | where src1 NOT null | rex field=dest_ip "(?.&lt;EM&gt;).(?.&lt;/EM&gt;).(?.&lt;EM&gt;).(?.&lt;/EM&gt;)" | where dest1 NOT null | eval source_ip=round(src1+exact(src2*.001), 3) | eval destination_ip=round(dest1+exact(dest2*.001), 3) | eventstats sum(sum(bytes)) as bytes by source_ip, destination_ip | stats latest(source_ip), latest(destination_ip), sum(count) by bytes | rename latest(source_ip) as "Source IP", latest(destination_ip) as "Destination IP", sum(count) as "Flows", bytes as "Bytes", sourcetype as "Sourcetype"&lt;/P&gt;

&lt;P&gt;Put it in verbose mode. &lt;/P&gt;

&lt;P&gt;Now I do get data but ONLY the flow data. And here is the funny thing: &lt;BR /&gt;
The source ip address is cut in half.. (192.168) &lt;BR /&gt;
The destination ip address too (8.008) &lt;/P&gt;

&lt;P&gt;Very weird..&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://i.imgur.com/g2wkdWB.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288073#M55070</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2020-09-29T18:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288074#M55071</link>
      <description>&lt;P&gt;So next I've created a new stream "fortistream" protocol netflow. &lt;BR /&gt;
Then I've edited the search from the VF dashboard like this:&lt;/P&gt;

&lt;P&gt;index= source="stream:fortistream" | rex field=src_ip "(?.).(?.).(?.).(?.)" | where src1 NOT null | rex field=dest_ip "(?.).(?.).(?.).(?.)" | where dest1 NOT null | eval source_ip=round(src1+exact(src2.001), 3) | eval destination_ip=round(dest1+exact(dest2*.001), 3) | eventstats sum(sum(bytes)) as bytes by source_ip, destination_ip | stats latest(source_ip), latest(destination_ip), sum(count) by bytes | rename latest(source_ip) as "Source IP", latest(destination_ip) as "Destination IP", sum(count) as "Flows", bytes as "Bytes", sourcetype as "Sourcetype"&lt;/P&gt;

&lt;P&gt;Put it in verbose mode.&lt;/P&gt;

&lt;P&gt;Now I do get data but ONLY the flow data. And here is the funny thing: &lt;BR /&gt;
The source ip address is cut in half.. (192.168) &lt;BR /&gt;
The destination ip address too (8.008)&lt;/P&gt;

&lt;P&gt;Very weird..&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288074#M55071</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2020-09-29T19:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming app - netflow - data not parsed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288075#M55072</link>
      <description>&lt;P&gt;This mystery is still not solved.. Yes, I get data now with this query index= source="stream:fortistream"  in verbose mode: &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4616i058BFA42E01C0C5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;But still ip addresses are only showing the first two octets..&lt;/P&gt;

&lt;P&gt;Hmm, I suspect the regex: &lt;CODE&gt;rex field=src_ip "(?&amp;lt;src1&amp;gt;.*)\.(?&amp;lt;src2&amp;gt;.*)\.(?&amp;lt;src3&amp;gt;.*)\.(?&amp;lt;src4&amp;gt;.*)"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;basically the field ip is calculated as: &lt;CODE&gt;(?:(?&amp;lt;!\d)(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(?!\d))&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So where is the syntax error...????&lt;/P&gt;

&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 20:08:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Streaming-app-netflow-data-not-parsed/m-p/288075#M55072</guid>
      <dc:creator>heskez</dc:creator>
      <dc:date>2018-08-01T20:08:58Z</dc:date>
    </item>
  </channel>
</rss>

