<?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 How can I do a graph with multiple data? in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-can-I-do-a-graph-with-multiple-data/m-p/397297#M4424</link>
    <description>&lt;P&gt;Hi team!&lt;/P&gt;

&lt;P&gt;It's my very first time here and I need a bit of help!&lt;/P&gt;

&lt;P&gt;I want to make a graph with multiple lanes.&lt;/P&gt;

&lt;P&gt;I have this right now. 1 graph per data. I want to fusion them but I don't know how.&lt;/P&gt;

&lt;P&gt;Graph 1.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xxx_paloalto sourcetype="pan:threat"  type=threat threat_name="SCAN: TCP Port Scan(8001)"
 (src_zone!="Inet-WAN1" AND src_zone!="Inet-WAN2")
 (dest_zone!="Inet-WAN1" AND dest_zone!="Inet-WAN2") 
 src_ip != xxx
| stats by src_ip, dest_ip, _time
 | bin  _time span=1d
 | stats count by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Graph 2&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xxx_paloalto sourcetype="pan:threat"  type=threat threat_name="SCAN: Host Sweep(8002)"
 (src_zone!="Inet-WAN1" AND src_zone!="Inet-WAN2")
 (dest_zone!="Inet-WAN1" AND dest_zone!="Inet-WAN2") 
 src_ip != xxx
| stats by src_ip, dest_ip, _time
 | bin  _time span=1d
 | stats count by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 11:26:36 GMT</pubDate>
    <dc:creator>christianubeda</dc:creator>
    <dc:date>2018-08-09T11:26:36Z</dc:date>
    <item>
      <title>How can I do a graph with multiple data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-can-I-do-a-graph-with-multiple-data/m-p/397297#M4424</link>
      <description>&lt;P&gt;Hi team!&lt;/P&gt;

&lt;P&gt;It's my very first time here and I need a bit of help!&lt;/P&gt;

&lt;P&gt;I want to make a graph with multiple lanes.&lt;/P&gt;

&lt;P&gt;I have this right now. 1 graph per data. I want to fusion them but I don't know how.&lt;/P&gt;

&lt;P&gt;Graph 1.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xxx_paloalto sourcetype="pan:threat"  type=threat threat_name="SCAN: TCP Port Scan(8001)"
 (src_zone!="Inet-WAN1" AND src_zone!="Inet-WAN2")
 (dest_zone!="Inet-WAN1" AND dest_zone!="Inet-WAN2") 
 src_ip != xxx
| stats by src_ip, dest_ip, _time
 | bin  _time span=1d
 | stats count by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Graph 2&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xxx_paloalto sourcetype="pan:threat"  type=threat threat_name="SCAN: Host Sweep(8002)"
 (src_zone!="Inet-WAN1" AND src_zone!="Inet-WAN2")
 (dest_zone!="Inet-WAN1" AND dest_zone!="Inet-WAN2") 
 src_ip != xxx
| stats by src_ip, dest_ip, _time
 | bin  _time span=1d
 | stats count by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 11:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-can-I-do-a-graph-with-multiple-data/m-p/397297#M4424</guid>
      <dc:creator>christianubeda</dc:creator>
      <dc:date>2018-08-09T11:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do a graph with multiple data?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-can-I-do-a-graph-with-multiple-data/m-p/397298#M4425</link>
      <description>&lt;P&gt;Give this a try.  I am assuming you want a line for each combination of src_ip, dest_ip, and threat_name based on your search above.  By the way, you are missing a function in your stats command.  Something like count, avg, min, max, etc...  Either way, I created a field that concatenates the src_ip, dest_ip, and threat_name so you can get a line for each in a line graph for example.  I hope this helps.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=xxx_paloalto sourcetype="pan:threat" type=threat (threat_name="SCAN: TCP Port Scan(8001)” OR threat_name=“SCAN: Host Sweep(8002)”)
(src_zone!="Inet-WAN1" AND src_zone!="Inet-WAN2")
(dest_zone!="Inet-WAN1" AND dest_zone!="Inet-WAN2") 
src_ip != xxx
| eval byfield=src_ip . "," . dest_ip . "," . threat_name
| bin _time span=1d
| chart count over _time by byfield
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/How-can-I-do-a-graph-with-multiple-data/m-p/397298#M4425</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2020-09-29T20:50:16Z</dc:date>
    </item>
  </channel>
</rss>

