<?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: How to make a timechart/graph from a search result? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200185#M58010</link>
    <description>&lt;P&gt;Are you wanting to know how many of the messages you are receiving for a given timeframe?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2015 21:17:03 GMT</pubDate>
    <dc:creator>cmccormick</dc:creator>
    <dc:date>2015-12-22T21:17:03Z</dc:date>
    <item>
      <title>How to make a timechart/graph from a search result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200184#M58009</link>
      <description>&lt;P&gt;I have some events with &lt;CODE&gt;message&lt;/CODE&gt; field as &lt;CODE&gt;Bar Hello..&lt;/CODE&gt;, &lt;CODE&gt;Bar Hi...&lt;/CODE&gt;, &lt;CODE&gt;Bar Foo...&lt;/CODE&gt; and so on. I do not know beforehand how many this type of &lt;CODE&gt;message&lt;/CODE&gt; are there. It is purely dynamical. But this messages are generated one at a time and timestamp of events with this messages are different. Now I want to show the search results as &lt;CODE&gt;timechart&lt;/CODE&gt;. Right now I have this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=baz host=server1 message="Bar*" | table host message _time | sort by -_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Dec 2015 20:42:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200184#M58009</guid>
      <dc:creator>anirban_nag</dc:creator>
      <dc:date>2015-12-22T20:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a timechart/graph from a search result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200185#M58010</link>
      <description>&lt;P&gt;Are you wanting to know how many of the messages you are receiving for a given timeframe?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200185#M58010</guid>
      <dc:creator>cmccormick</dc:creator>
      <dc:date>2015-12-22T21:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a timechart/graph from a search result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200186#M58011</link>
      <description>&lt;P&gt;No I don't want to know how many but I want to create a line chart based on the messages and their frequency. Though I think I got close to it &lt;CODE&gt;index=baz host=server1 message="Bar*" | table host message _time | sort by -_time | timechart span=2m count by message usenull=f&lt;/CODE&gt;. Now it would be good if in the graph it is a single line with different color for different type of message.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 21:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200186#M58011</guid>
      <dc:creator>anirban_nag</dc:creator>
      <dc:date>2015-12-22T21:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a timechart/graph from a search result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200187#M58012</link>
      <description>&lt;P&gt;You should just need the timechart command. &lt;/P&gt;

&lt;P&gt;See Below:&lt;/P&gt;

&lt;P&gt;index=baz host=server1 message="Bar*" |timechart count(message) by message usenull=f useother=f&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200187#M58012</guid>
      <dc:creator>dcharboneau_spl</dc:creator>
      <dc:date>2015-12-23T14:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a timechart/graph from a search result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200188#M58013</link>
      <description>&lt;P&gt;It would be good if in the graph it is a single line with different color for different type of message.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 21:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200188#M58013</guid>
      <dc:creator>anirban_nag</dc:creator>
      <dc:date>2015-12-24T21:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a timechart/graph from a search result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200189#M58014</link>
      <description>&lt;P&gt;Not sure how that would work.  A single line for x number of message types won't work as a visualization.  you could do a Stacked column Chart view instead of a line chart.  Above should produce multiple lines each a different color and one line for each message type over time.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 13:01:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-timechart-graph-from-a-search-result/m-p/200189#M58014</guid>
      <dc:creator>dcharboneau_spl</dc:creator>
      <dc:date>2015-12-28T13:01:25Z</dc:date>
    </item>
  </channel>
</rss>

