<?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 Using Time Modifiers in search for timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560217#M159208</link>
    <description>&lt;P&gt;Hello -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was reading this:&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/Search/Timemodifiers" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/Search/Timemodifiers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But it is not very clear to me how to use the time modifiers properly.&lt;/P&gt;&lt;P&gt;index=blah sourcetype=blah&lt;BR /&gt;fields _time index sourcetype GB&lt;BR /&gt;| timechart span=1d sum(GB) as Gigabytes&lt;BR /&gt;&lt;BR /&gt;How would I draw my time chart to the end of the previous day over a 7-day period using a time modifier?&lt;BR /&gt;&lt;BR /&gt;Would it be:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;index=blah sourcetype=blah&amp;nbsp;&lt;SPAN&gt;_index_earliest=-7d@d index_latest=-1d@d&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Please advise, thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 14:25:47 GMT</pubDate>
    <dc:creator>jason_hotchkiss</dc:creator>
    <dc:date>2021-07-20T14:25:47Z</dc:date>
    <item>
      <title>Using Time Modifiers in search for timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560217#M159208</link>
      <description>&lt;P&gt;Hello -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was reading this:&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/Search/Timemodifiers" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/Search/Timemodifiers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But it is not very clear to me how to use the time modifiers properly.&lt;/P&gt;&lt;P&gt;index=blah sourcetype=blah&lt;BR /&gt;fields _time index sourcetype GB&lt;BR /&gt;| timechart span=1d sum(GB) as Gigabytes&lt;BR /&gt;&lt;BR /&gt;How would I draw my time chart to the end of the previous day over a 7-day period using a time modifier?&lt;BR /&gt;&lt;BR /&gt;Would it be:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;index=blah sourcetype=blah&amp;nbsp;&lt;SPAN&gt;_index_earliest=-7d@d index_latest=-1d@d&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Please advise, thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560217#M159208</guid>
      <dc:creator>jason_hotchkiss</dc:creator>
      <dc:date>2021-07-20T14:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using Time Modifiers in search for timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560222#M159210</link>
      <description>&lt;P&gt;@d takes you to the beginning of the day so for end of previous day you need latest=@d i.e. beginning of current day.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560222#M159210</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-20T14:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Time Modifiers in search for timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560226#M159212</link>
      <description>&lt;P&gt;Ahh... I tried &lt;A href="mailto:-@d" target="_blank"&gt;-@d&lt;/A&gt;&amp;nbsp;- didn't occur to me to try&amp;nbsp;@d.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 15:28:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-Time-Modifiers-in-search-for-timechart/m-p/560226#M159212</guid>
      <dc:creator>jason_hotchkiss</dc:creator>
      <dc:date>2021-07-20T15:28:15Z</dc:date>
    </item>
  </channel>
</rss>

