<?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: Can i create a single graph for two different searches . in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318987#M20552</link>
    <description>&lt;P&gt;Suppose I searched&lt;BR /&gt;
 index="widows" "Microsoft-Windows-Security-Auditing"&lt;BR /&gt;
 index="widows" "Special Logon"&lt;BR /&gt;
 this in my search bar  and I want to compare these two so I want to be in 1 graph.can we do thi&lt;BR /&gt;
can we do this?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2018 06:08:55 GMT</pubDate>
    <dc:creator>anshuman19</dc:creator>
    <dc:date>2018-01-18T06:08:55Z</dc:date>
    <item>
      <title>Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318984#M20549</link>
      <description>&lt;P&gt;I uploaded 2 csv file in splunk  enterprise and when I search indivisually they show a graph I want both graph in one graph and they should be graphed with different color. My two searches are as follows:&lt;BR /&gt;
source="D:\ASTSTCD01\Application.csv" host="USER" index="widows" sourcetype="csv"&lt;BR /&gt;
source="D:\ASTSTCD01\Security.csv" host="USER" index="widows" sourcetype="csv"&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 05:26:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318984#M20549</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-18T05:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318985#M20550</link>
      <description>&lt;P&gt;can you give seperate individual searches for both the graphs? you have given only main search.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 05:54:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318985#M20550</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-18T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318986#M20551</link>
      <description>&lt;P&gt;What is the query for current graph?&lt;/P&gt;

&lt;P&gt;You probably just need to split the transforming command by source i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;YourBaseSearch&amp;gt;
| stats count by source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;YourBaseSearch&amp;gt;
| timechart count by source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Jan 2018 06:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318986#M20551</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-01-18T06:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318987#M20552</link>
      <description>&lt;P&gt;Suppose I searched&lt;BR /&gt;
 index="widows" "Microsoft-Windows-Security-Auditing"&lt;BR /&gt;
 index="widows" "Special Logon"&lt;BR /&gt;
 this in my search bar  and I want to compare these two so I want to be in 1 graph.can we do thi&lt;BR /&gt;
can we do this?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 06:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318987#M20552</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-18T06:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318988#M20553</link>
      <description>&lt;P&gt;what I have done is&lt;BR /&gt;
searched a particular index in search bar and then  used visualization tab to create a graph and saved it as a dashboard again searched for another index and used visualization tab to create a graph and saved saved it as panel of that dashboard. here the graph are created in panel .&lt;BR /&gt;
But I want to have that 2 graph show on one graph so that I can compare them.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 10:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318988#M20553</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-18T10:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318989#M20554</link>
      <description>&lt;P&gt;but anshuman can you give us full query for two graphs ? you are just giving main search need full query or else give us dashboard XML&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 10:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318989#M20554</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-18T10:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318990#M20555</link>
      <description>&lt;P&gt;hii @mayurr98&lt;BR /&gt;
I am searching index for 2 time range &lt;BR /&gt;
 I am searching index like this &lt;BR /&gt;
index="adtstdc01_ap" &lt;BR /&gt;
with time range 24 hours&lt;BR /&gt;
and again searching same index with time range "all time"&lt;BR /&gt;
and saving both as dashboard.&lt;BR /&gt;
so I am not understanding what you here mean by full query.&lt;BR /&gt;
here is my dashboard of that.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Dash  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      | pivot dash1 RootObject count(RootObject) AS "Count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;of 1516272246.164" SPLITROW _time AS&lt;BR /&gt;
_time PERIOD auto SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER&lt;BR /&gt;
1&lt;BR /&gt;
          -24h@h&lt;BR /&gt;
          now&lt;BR /&gt;
          1&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    ellipsisNone
    0
    visible
    visible
    visible
    none
    linear
    none
    linear
    none
    0
    inherit
    line
    50
    10
    area
    gaps
    none
    0.01
    default
    shiny
    none
    0
    0
    ellipsisMiddle
    standard
    none
    2
    0
    1
    medium






      | pivot dash2 RootObject count(RootObject) AS "Count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;of 1516272311.182" SPLITROW _time AS&lt;BR /&gt;
_time PERIOD auto SORT 0 _time ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER&lt;BR /&gt;
1&lt;BR /&gt;
          0&lt;BR /&gt;
          1&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    ellipsisNone
    0
    visible
    visible
    visible
    none
    linear
    none
    linear
    none
    0
    inherit
    line
    50
    10
    area
    gaps
    none
    0.01
    default
    shiny
    none
    0
    0
    ellipsisMiddle
    standard
    none
    2
    0
    1
    medium
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 18 Jan 2018 10:52:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318990#M20555</guid>
      <dc:creator>anshuman19</dc:creator>
      <dc:date>2018-01-18T10:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318991#M20556</link>
      <description>&lt;P&gt;Your XML is not uploaded appropriately. by the way, I am asking full query because I am confused about your requirement.Are you just comparing raw logs? or you have a visualization made by commands like &lt;CODE&gt;stats time-chart or chart&lt;/CODE&gt;? &lt;BR /&gt;
So in order to merge two queries I need to know what sort of visualization you want.Or you are just comparing the total count of query1 and query2?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 12:43:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318991#M20556</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-18T12:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can i create a single graph for two different searches .</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318992#M20557</link>
      <description>&lt;P&gt;Couldn't you just combine both searches into one? How are you trying to display it?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(source="D:\\ASTSTCD01\\Application.csv" host="USER" index="widows" sourcetype="csv") OR (source="D:\\ASTSTCD01\\Security.csv" host="USER" index="widows" sourcetype="csv") | stats count by source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does this working for what you're attempting to do?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 17:03:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-i-create-a-single-graph-for-two-different-searches/m-p/318992#M20557</guid>
      <dc:creator>auraria</dc:creator>
      <dc:date>2018-01-22T17:03:13Z</dc:date>
    </item>
  </channel>
</rss>

