<?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: Time conversion in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553703#M157215</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply its working, but if we have all the logs with same kind for starttime how can we resolve that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 10:32:20 GMT</pubDate>
    <dc:creator>Nith1</dc:creator>
    <dc:date>2021-05-31T10:32:20Z</dc:date>
    <item>
      <title>Time conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553508#M157153</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the time in this format&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t"&gt;startTime&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="t h"&gt;:&lt;SPAN class="t"&gt;1606406489009 i wanted to convert it to date-month-year hour-seconds can someone please help me with the query&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553508#M157153</guid>
      <dc:creator>Nith1</dc:creator>
      <dc:date>2021-05-28T13:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553513#M157154</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval _raw="\"startTime\":1606406489009"
| rex "startTime\":(?&amp;lt;time&amp;gt;\d+)"
| eval seconds=time/1000
| fieldformat seconds=strftime(seconds,"%Y-%m-%d %H:%M:%S.%Q")&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 May 2021 13:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553513#M157154</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-28T13:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553597#M157179</link>
      <description>You could found explanations for those variables here: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/Commontimeformatvariables" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/Commontimeformatvariables&lt;/A&gt;</description>
      <pubDate>Fri, 28 May 2021 22:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553597#M157179</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-05-28T22:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553703#M157215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply its working, but if we have all the logs with same kind for starttime how can we resolve that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 10:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553703#M157215</guid>
      <dc:creator>Nith1</dc:creator>
      <dc:date>2021-05-31T10:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553717#M157217</link>
      <description>&lt;P&gt;Not sure whether there is another question here - the rex extracts the digits as a number, the number represents milliseconds since epoch, time is usually stored as seconds since epoch so divide this number by 1000, this can be done with all your events with this format for time, to display in human-readable format use fieldformat with the appropriate settings.&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 14:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Time-conversion/m-p/553717#M157217</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-31T14:44:48Z</dc:date>
    </item>
  </channel>
</rss>

