<?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 to create a time chart with data from 3 sourcetypes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124939#M33769</link>
    <description>&lt;P&gt;I want to combine my search results to one time chart. I have tried this but did give me result only from the first source.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;index="login" sourcetype="success" | timechart  count | appendcols [search index="login" sourcetype="Failed" | timechart count] appendcols [search index="login" sourcetype="no-account" | timechart count]&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Mon, 15 Sep 2014 16:07:44 GMT</pubDate>
    <dc:creator>raindrop18</dc:creator>
    <dc:date>2014-09-15T16:07:44Z</dc:date>
    <item>
      <title>How to create a time chart with data from 3 sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124939#M33769</link>
      <description>&lt;P&gt;I want to combine my search results to one time chart. I have tried this but did give me result only from the first source.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;index="login" sourcetype="success" | timechart  count | appendcols [search index="login" sourcetype="Failed" | timechart count] appendcols [search index="login" sourcetype="no-account" | timechart count]&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124939#M33769</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2014-09-15T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a time chart with data from 3 sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124940#M33770</link>
      <description>&lt;P&gt;Try using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="login" sourcetype="success" OR sourcetype="Failed" OR sourcetype="no-account" | timechart count by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This'll create your initial search with all results, but your timechart will be a count split by sourcetype values.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124940#M33770</guid>
      <dc:creator>srioux</dc:creator>
      <dc:date>2014-09-15T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a time chart with data from 3 sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124941#M33771</link>
      <description>&lt;P&gt;Or, for a massive performance boost, try this under Splunk 6+:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index="login" AND (sourcetype="success" OR sourcetype="Failed" OR sourcetype="no-account") by sourcetype _time span=auto | timechart count by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124941#M33771</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-09-15T16:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a time chart with data from 3 sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124942#M33772</link>
      <description>&lt;P&gt;thanks you both, works as expected.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2014 17:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-time-chart-with-data-from-3-sourcetypes/m-p/124942#M33772</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2014-09-15T17:03:54Z</dc:date>
    </item>
  </channel>
</rss>

