<?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: Use of Timewrap command to control the time range in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463956#M80009</link>
    <description>&lt;P&gt;timewrap 10h&lt;/P&gt;

&lt;P&gt;12p -10p is 10 hours&lt;/P&gt;

&lt;P&gt;drop earliest and latest from your search and update timewrap to 10h&lt;/P&gt;</description>
    <pubDate>Sat, 08 Feb 2020 15:39:18 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2020-02-08T15:39:18Z</dc:date>
    <item>
      <title>Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463951#M80004</link>
      <description>&lt;P&gt;Hi, I am trying to plat a graph of response time over a period of time. I am using timewrap command to plot it for yesterday, day before yesterday and last week.&lt;BR /&gt;
The problem is I only want it for a certain period of time on the day. For Example between 12:00 PM to 10:00 PM (peak hours).&lt;BR /&gt;
I am snapping the time in the search itself like this earliest=-7d@d+3h latest=@d but is not working. Please see the graph - on the x-axis it is still plotting from 12:00 AM but what i want is from 12:00 PM.&lt;/P&gt;

&lt;P&gt;earliest=-7d@d+3h latest=@d&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8343i85986DB6B6F149C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 12:48:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463951#M80004</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2020-02-08T12:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463952#M80005</link>
      <description>&lt;P&gt;Please share the spl queries you've attempted&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 12:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463952#M80005</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-08T12:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463953#M80006</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/199197"&gt;@jkat54&lt;/a&gt; This is the query -&lt;BR /&gt;
index=tp_test sourcetype=access_combined_wcookie earliest=-8d@d+3h latest=@d&lt;BR /&gt;
| timechart span=15m avg(response_time_sec) as AvgResponseTime&lt;BR /&gt;
| timewrap d&lt;BR /&gt;
| fields _time,AvgResponseTime_latest_day,AvgResponseTime_1day_before,AvgResponseTime_7days_before&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463953#M80006</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2020-09-30T04:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463954#M80007</link>
      <description>&lt;P&gt;I think you need a number in front of the units:&lt;/P&gt;

&lt;P&gt;| timewrap 1d&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 13:44:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463954#M80007</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-08T13:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463955#M80008</link>
      <description>&lt;P&gt;I dont think that matters. The problem is I want to compare the results from 12:00 PM to 10:00 PM.&lt;BR /&gt;
Right now it's coming for full day which i don't want.&lt;BR /&gt;
I think this is what needs to be modified : earliest=-8d@d+3h latest=@d&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 13:50:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463955#M80008</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2020-02-08T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463956#M80009</link>
      <description>&lt;P&gt;timewrap 10h&lt;/P&gt;

&lt;P&gt;12p -10p is 10 hours&lt;/P&gt;

&lt;P&gt;drop earliest and latest from your search and update timewrap to 10h&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 15:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463956#M80009</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-08T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Timewrap command to control the time range</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463957#M80010</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;your search
| where relative_time(now(),"-8d@d+12h") &amp;lt;= _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;earliest=-8d@d+3h&lt;/CODE&gt; is 03:00 AM, but &lt;CODE&gt;timechart&lt;/CODE&gt; starts at 00:00 AM.&lt;BR /&gt;
I don't know why.&lt;/P&gt;

&lt;P&gt;Why not limit the display period?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 20:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Use-of-Timewrap-command-to-control-the-time-range/m-p/463957#M80010</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-08T20:59:40Z</dc:date>
    </item>
  </channel>
</rss>

