<?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 plot a timechart from summary index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433498#M123752</link>
    <description>&lt;P&gt;Hi, I have a summery index with events like this :-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;3/06/2019 00:00:00 +0000, search_name=ABCD , search_now=1551916800.000, info_min_time=1551830400.000, info_max_time=1551916800.000, info_search_time=1551916803.490, SourceType="up2date-too_small", date="2019-03-06", info_max_time="1551916800.000", info_min_time="1551830400.000", info_search_time="1551916803.490", info_sid="scheduler_612483161search_RMD5b9c004924d61345e_at_1551916800_2619_CB367A2F-91DF-4379-90F8-63AC41173EAB", sum(b)=960, ABCD, search_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I want to use the date from this event and plot a timechart by sourcetype. Can anyone help me please?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2019 13:02:50 GMT</pubDate>
    <dc:creator>splbsm</dc:creator>
    <dc:date>2019-03-07T13:02:50Z</dc:date>
    <item>
      <title>How to plot a timechart from summary index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433498#M123752</link>
      <description>&lt;P&gt;Hi, I have a summery index with events like this :-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;3/06/2019 00:00:00 +0000, search_name=ABCD , search_now=1551916800.000, info_min_time=1551830400.000, info_max_time=1551916800.000, info_search_time=1551916803.490, SourceType="up2date-too_small", date="2019-03-06", info_max_time="1551916800.000", info_min_time="1551830400.000", info_search_time="1551916803.490", info_sid="scheduler_612483161search_RMD5b9c004924d61345e_at_1551916800_2619_CB367A2F-91DF-4379-90F8-63AC41173EAB", sum(b)=960, ABCD, search_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now I want to use the date from this event and plot a timechart by sourcetype. Can anyone help me please?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 13:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433498#M123752</guid>
      <dc:creator>splbsm</dc:creator>
      <dc:date>2019-03-07T13:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a timechart from summary index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433499#M123753</link>
      <description>&lt;P&gt;Give this a go:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your search]|rename SourceType as original_sourcetype| eval _time=strptime(date, "%Y-%m-%d")|timechart count by original_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes you want to timechart them by the date from the summary index&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Just as an aside - the rename is probably not necessary, but it helps clarify when you comeback to it in 6months and have forgotten what you did.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 14:15:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433499#M123753</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-07T14:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a timechart from summary index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433500#M123754</link>
      <description>&lt;P&gt;Thank you very much. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:02:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433500#M123754</guid>
      <dc:creator>splbsm</dc:creator>
      <dc:date>2019-03-07T15:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot a timechart from summary index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433501#M123755</link>
      <description>&lt;P&gt;Your welcome!&lt;BR /&gt;
I updated the title of this question to help others who may be searching in the future!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-plot-a-timechart-from-summary-index/m-p/433501#M123755</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-07T15:21:48Z</dc:date>
    </item>
  </channel>
</rss>

