<?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 Search results help in getting hourly results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642437#M222541</link>
    <description>&lt;P&gt;Hi I am using the below query and i need the results in hourly basis for the time i selected ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"My Base search"&amp;nbsp; &amp;nbsp;| fields TRAN_TIME_MS PAGE_ID PAGE_TITLE _time| eventstats perc99(TRAN_TIME_MS) as Percentile by PAGE_ID | where TRAN_TIME_MS &amp;lt;= Percentile | stats count avg(TRAN_TIME_MS) as avg_time max(TRAN_TIME_MS) as max_time by PAGE_ID,PAGE_TITLE, | eval avg_time=round(avg_time/1000,2) | eval max_time=round(max_time/1000,2)&lt;BR /&gt;| rename count as Total_Requests avg_time as Average(Seconds) max_time as Max_Time(Seconds) PAGE_ID as Page_ID PAGE_TITLE as Page_Description&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 10:00:31 GMT</pubDate>
    <dc:creator>kc_prane</dc:creator>
    <dc:date>2023-05-08T10:00:31Z</dc:date>
    <item>
      <title>Search results help in getting hourly results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642437#M222541</link>
      <description>&lt;P&gt;Hi I am using the below query and i need the results in hourly basis for the time i selected ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"My Base search"&amp;nbsp; &amp;nbsp;| fields TRAN_TIME_MS PAGE_ID PAGE_TITLE _time| eventstats perc99(TRAN_TIME_MS) as Percentile by PAGE_ID | where TRAN_TIME_MS &amp;lt;= Percentile | stats count avg(TRAN_TIME_MS) as avg_time max(TRAN_TIME_MS) as max_time by PAGE_ID,PAGE_TITLE, | eval avg_time=round(avg_time/1000,2) | eval max_time=round(max_time/1000,2)&lt;BR /&gt;| rename count as Total_Requests avg_time as Average(Seconds) max_time as Max_Time(Seconds) PAGE_ID as Page_ID PAGE_TITLE as Page_Description&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 10:00:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642437#M222541</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2023-05-08T10:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search results help in getting hourly results .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642446#M222542</link>
      <description>&lt;P&gt;To get the results broken down by hour, first use the &lt;FONT face="courier new,courier"&gt;bucket&lt;/FONT&gt; command to group results into the hour they occur.&amp;nbsp; Then add _time as a group in the &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"My Base search"
| fields TRAN_TIME_MS PAGE_ID PAGE_TITLE _time
| eventstats perc99(TRAN_TIME_MS) as Percentile by PAGE_ID 
| where TRAN_TIME_MS &amp;lt;= Percentile 
| bucket span=1h _time
| stats count avg(TRAN_TIME_MS) as avg_time max(TRAN_TIME_MS) as max_time by _time, PAGE_ID,PAGE_TITLE, 
| eval avg_time=round(avg_time/1000,2) 
| eval max_time=round(max_time/1000,2)
| rename count as Total_Requests avg_time as Average(Seconds) max_time as Max_Time(Seconds) PAGE_ID as Page_ID PAGE_TITLE as Page_Description&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642446#M222542</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-05T20:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search results help in getting hourly results .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642448#M222543</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;@&lt;SPAN&gt;richgalloway this Helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 20:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-results-help-in-getting-hourly-results/m-p/642448#M222543</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2023-05-05T20:17:09Z</dc:date>
    </item>
  </channel>
</rss>

