<?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: Peculiar Time requirement in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89342#M182223</link>
    <description>&lt;P&gt;This is brilliant it worked thanks so much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2013 11:21:52 GMT</pubDate>
    <dc:creator>kengilmour</dc:creator>
    <dc:date>2013-04-10T11:21:52Z</dc:date>
    <item>
      <title>Peculiar Time requirement</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89340#M182221</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a very peculiar time problem that I want to fix with a quick and dirty fix. I am creating a sparkline that I need for a real-time dashboard for the SOC. The problem is that I have a sourcetype and source filename from multiple different servers with different timezone settings. The logfile timestamp doesn't contain the timezone differentiator so it's difficult to write something in the inputs for these files.&lt;/P&gt;

&lt;P&gt;A solution that will work though is that if i could see logs for the "earliest=-4h" and "latest=-2h" of course, the problem with this is that it's not real-time and has to be refreshed manually. The logs 2 hours ago are the current latest logs.&lt;/P&gt;

&lt;P&gt;So based on &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Specifytimemodifiersinyoursearch"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Search/Specifytimemodifiersinyoursearch&lt;/A&gt; I have come up with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-2h@now-2h
now@-2h
-2h@now
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;None of these work and I can't save the sparkline dashboard panel. Am I getting the syntax wrong or is this just not supposed to work this way?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Ken&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 09:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89340#M182221</guid>
      <dc:creator>kengilmour</dc:creator>
      <dc:date>2013-04-10T09:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Peculiar Time requirement</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89341#M182222</link>
      <description>&lt;P&gt;&lt;CODE&gt;earliest=rt-2h&lt;/CODE&gt; would give you a sliding window of the last two hours.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;earliest=rt-4h latest=rt-2h&lt;/CODE&gt; would give you a sliding window of the two hours preceeding that.&lt;/P&gt;

&lt;P&gt;However, it would probably be best if you corrected your timezones with the props.conf TZ setting for your sources/sourcetypes/hosts.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 10:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89341#M182222</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-10T10:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Peculiar Time requirement</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89342#M182223</link>
      <description>&lt;P&gt;This is brilliant it worked thanks so much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 11:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89342#M182223</guid>
      <dc:creator>kengilmour</dc:creator>
      <dc:date>2013-04-10T11:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Peculiar Time requirement</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89343#M182224</link>
      <description>&lt;P&gt;This is brilliant, it worked! Thanks so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2013 11:22:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Peculiar-Time-requirement/m-p/89343#M182224</guid>
      <dc:creator>kengilmour</dc:creator>
      <dc:date>2013-04-10T11:22:06Z</dc:date>
    </item>
  </channel>
</rss>

