<?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: Striftime Error or Settings questions in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438135#M174062</link>
    <description>&lt;P&gt;If you would like to convert &lt;CODE&gt;1419.000000&lt;/CODE&gt; into  Duration then you need to use &lt;CODE&gt;| eval SortingTime=tostring(SortingTime, "duration")&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 16:56:06 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2018-12-17T16:56:06Z</dc:date>
    <item>
      <title>Striftime Error or Settings questions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438131#M174058</link>
      <description>&lt;P&gt;For some reason when I have Time as below, and use  (| eval SortingTime=strftime(SortingTime, " %H:%M:%S")   I always get exactly 1more hour to what I should get.&lt;/P&gt;

&lt;P&gt;&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/6256iA1E5EC262BAFD1A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So if I use             | eval SortingTime=strftime(SortingTime, " %H:%M:%S")    , I would get  01:23:39 instead of 00:23:39 and same goes for everytime I try to use strftime, I always get an extra hour&lt;/P&gt;

&lt;P&gt;I have 2 accounts.  one account seems to get the right strftime but the other one always adds an extra hour to strftime. Is there something wrong with my settings???&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 13:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438131#M174058</guid>
      <dc:creator>hyungjoon</dc:creator>
      <dc:date>2018-12-17T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Striftime Error or Settings questions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438132#M174059</link>
      <description>&lt;P&gt;Do you have timezone specified for account in which you are getting &lt;CODE&gt;+1 hour&lt;/CODE&gt; ?&lt;/P&gt;

&lt;P&gt;Or try below query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourBaseSearch&amp;gt;
| eval SortingTime=tostring(SortingTime, "duration")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Dec 2018 14:05:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438132#M174059</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-17T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Striftime Error or Settings questions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438133#M174060</link>
      <description>&lt;P&gt;yes I have timezone specified for both account but they are specified to the same timezone. I don't know why one would give me +1 hour while the other won't. Is there anyway I can fix this?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 15:55:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438133#M174060</guid>
      <dc:creator>hyungjoon</dc:creator>
      <dc:date>2018-12-17T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Striftime Error or Settings questions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438134#M174061</link>
      <description>&lt;P&gt;If you would like to convert &lt;CODE&gt;1419.000000&lt;/CODE&gt; into  Duration then you need to use &lt;CODE&gt;| eval SortingTime=tostring(SortingTime, "duration")&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 16:55:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438134#M174061</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-17T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Striftime Error or Settings questions</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438135#M174062</link>
      <description>&lt;P&gt;If you would like to convert &lt;CODE&gt;1419.000000&lt;/CODE&gt; into  Duration then you need to use &lt;CODE&gt;| eval SortingTime=tostring(SortingTime, "duration")&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 16:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Striftime-Error-or-Settings-questions/m-p/438135#M174062</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-17T16:56:06Z</dc:date>
    </item>
  </channel>
</rss>

