<?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: Timechart 4 variable in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375554#M162047</link>
    <description>&lt;P&gt;I do not think it is possible through timechart command &lt;BR /&gt;
Well you need to try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nil sourcetype="niller" host=* 
| bin _time span=1m 
| eval flag=if(timeout&amp;gt;5000,"Timeout","Total") 
| stats count(flag) as number_of_timeouts by flag host _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Sun, 25 Mar 2018 05:46:47 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-03-25T05:46:47Z</dc:date>
    <item>
      <title>Timechart 4 variable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375553#M162046</link>
      <description>&lt;P&gt;index=nil sourcetype="niller" host=*| eval flag=if(timeout&amp;gt;5000,"Timeout","Total")| timechart span=1m count(flag) as number_of_timeouts by flag&lt;/P&gt;

&lt;P&gt;Above search string obtains result from both host (host1,host2). If i want to display unified value from both dashboard host=* is working but i want to display from both host and it has to show both total and timeout also. &lt;/P&gt;

&lt;P&gt;Please help how. &lt;/P&gt;

&lt;P&gt;Thanks. (splunk 7.0)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:40:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375553#M162046</guid>
      <dc:creator>sathish2k8</dc:creator>
      <dc:date>2020-09-29T18:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart 4 variable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375554#M162047</link>
      <description>&lt;P&gt;I do not think it is possible through timechart command &lt;BR /&gt;
Well you need to try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nil sourcetype="niller" host=* 
| bin _time span=1m 
| eval flag=if(timeout&amp;gt;5000,"Timeout","Total") 
| stats count(flag) as number_of_timeouts by flag host _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Sun, 25 Mar 2018 05:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375554#M162047</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-03-25T05:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart 4 variable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375555#M162048</link>
      <description>&lt;P&gt;it is not working my scenario, i want to distinguish both the hosts. this search is working but i have to show 2 different host in same chart. please help &lt;/P&gt;</description>
      <pubDate>Sun, 25 Mar 2018 14:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-4-variable/m-p/375555#M162048</guid>
      <dc:creator>sathish2k8</dc:creator>
      <dc:date>2018-03-25T14:57:49Z</dc:date>
    </item>
  </channel>
</rss>

