<?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 do I get a search with &amp;quot;timechart span=1d&amp;quot; to return and display events from the top of the hour? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229613#M68000</link>
    <description>&lt;P&gt;Thanks Masa!!&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2016 21:01:38 GMT</pubDate>
    <dc:creator>Vignesh5r</dc:creator>
    <dc:date>2016-08-15T21:01:38Z</dc:date>
    <item>
      <title>How do I get a search with "timechart span=1d" to return and display events from the top of the hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229609#M67996</link>
      <description>&lt;P&gt;I have a search like below. &lt;/P&gt;

&lt;P&gt;If i run this search, let's say now, it fetches transaction (as per the display ) not from the TOP of the hour, but from the time I have run the search.&lt;/P&gt;

&lt;P&gt;Let's say I run this for the last 7 days. &lt;BR /&gt;
It takes only from 8/8 15:00 hrs till now and not 8/8 00:00 hrs until now. &lt;/P&gt;

&lt;P&gt;I tried 1d and as well as 24 hours, but same thing.  How do we have the result fetched from the top of the hour?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index!=_internal "test" |  rex "(?i)fieldname1=(?P[^]]+)" | dedup FIELDNAME | timechart span=1d count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Aug 2016 20:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229609#M67996</guid>
      <dc:creator>Vignesh5r</dc:creator>
      <dc:date>2016-08-15T20:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a search with "timechart span=1d" to return and display events from the top of the hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229610#M67997</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index!=_internal "test" earliest="-7@d" |  rex "(?i)fieldname1=(?P[^]]+)" | dedup FIELDNAME | timechart span=1d count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Aug 2016 20:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229610#M67997</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-15T20:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a search with "timechart span=1d" to return and display events from the top of the hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229611#M67998</link>
      <description>&lt;P&gt;sundareshr typo ? earliest="-7d@d"&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.4.2/Search/Specifytimemodifiersinyoursearch"&gt;https://docs.splunk.com/Documentation/Splunk/6.4.2/Search/Specifytimemodifiersinyoursearch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 20:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229611#M67998</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2016-08-15T20:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a search with "timechart span=1d" to return and display events from the top of the hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229612#M67999</link>
      <description>&lt;P&gt;Thanks  Sundar. This works.  With the correction provided, i am indicatig the final query which worked and took transactions from 00:00 hrs 7 days ago till now. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index!=_internal "test" earliest="-7@d@d" |  rex "(?i)fieldname1=(?P[^]]+)" | dedup FIELDNAME | timechart span=1d count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks once again Sundar&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 21:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229612#M67999</guid>
      <dc:creator>Vignesh5r</dc:creator>
      <dc:date>2016-08-15T21:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a search with "timechart span=1d" to return and display events from the top of the hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229613#M68000</link>
      <description>&lt;P&gt;Thanks Masa!!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 21:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-a-search-with-quot-timechart-span-1d-quot-to-return/m-p/229613#M68000</guid>
      <dc:creator>Vignesh5r</dc:creator>
      <dc:date>2016-08-15T21:01:38Z</dc:date>
    </item>
  </channel>
</rss>

