<?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 do a timechart from a single panel result? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595551#M207270</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I need to do a timechart from a single panel result&lt;/P&gt;
&lt;P&gt;In this single panel, I stats events like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count as PbPerf by s 
| search PbPerf&amp;gt;10
| stats dc(s)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The results of this search is 14 events&lt;/P&gt;
&lt;P&gt;Now I need to timechart these 14 events&lt;/P&gt;
&lt;P&gt;So I am doing this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| bin _time span=1d 
| stats count as PbPerf by s _time 
| search PbPerf&amp;gt;10
| timechart count span=1h&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The first problem I have is that I want to retrieve the 14 events before doing the timechart is that I have to use a span=1d&lt;/P&gt;
&lt;P&gt;But of course all the 14 events are grouped with the same _time even if I use a span=1h in the timechart&lt;/P&gt;
&lt;P&gt;So how to display a timechart that display a _time value for my 14 events?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 16:01:58 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2022-04-27T16:01:58Z</dc:date>
    <item>
      <title>How to do a timechart from a single panel result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595551#M207270</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I need to do a timechart from a single panel result&lt;/P&gt;
&lt;P&gt;In this single panel, I stats events like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count as PbPerf by s 
| search PbPerf&amp;gt;10
| stats dc(s)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The results of this search is 14 events&lt;/P&gt;
&lt;P&gt;Now I need to timechart these 14 events&lt;/P&gt;
&lt;P&gt;So I am doing this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| bin _time span=1d 
| stats count as PbPerf by s _time 
| search PbPerf&amp;gt;10
| timechart count span=1h&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The first problem I have is that I want to retrieve the 14 events before doing the timechart is that I have to use a span=1d&lt;/P&gt;
&lt;P&gt;But of course all the 14 events are grouped with the same _time even if I use a span=1h in the timechart&lt;/P&gt;
&lt;P&gt;So how to display a timechart that display a _time value for my 14 events?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 16:01:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595551#M207270</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-04-27T16:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: help on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595555#M207272</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;at first, why don't you directly use timechart in you search?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| timechart span=1d count as PbPerf by s
| where PbPerf&amp;gt;10&lt;/LI-CODE&gt;&lt;P&gt;but anyway, you cannot use before span=1d and then span=1h, because you have the same hour in each date for each day.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 10:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595555#M207272</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-27T10:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: help on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595556#M207273</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Your idea is not bad but :&lt;/P&gt;&lt;P&gt;1) the where condition works only if I delete "by s"&lt;/P&gt;&lt;P&gt;2) if I timechart by s, I have only ten results for s&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 11:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595556#M207273</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-04-27T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: help on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595557#M207274</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;this isn't a problem od the search but of your data, maybe you should use a different threshold.&lt;/P&gt;&lt;P&gt;When you say 14 results are you speking of two weeks or what else?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 11:07:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595557#M207274</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-27T11:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: help on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595585#M207282</link>
      <description>&lt;P&gt;it's 14 events&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:27:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595585#M207282</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-04-27T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: help on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595592#M207285</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as I said, if using the BY clause probably you should better analyze your data to understand if the results you're waiting are correct.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595592#M207285</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-27T14:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: help on timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595604#M207290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:44:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-do-a-timechart-from-a-single-panel-result/m-p/595604#M207290</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-27T14:44:49Z</dc:date>
    </item>
  </channel>
</rss>

