<?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: convert unix time to human readable time in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337610#M5123</link>
    <description>&lt;P&gt;Are you sure that the first number is actually a timestamp? When I use an epoch converter that timestamp lands in the year 2076. &lt;/P&gt;

&lt;P&gt;But, to answer your question, you can usually just do &lt;CODE&gt;convert ctime(your_epic_timestamp_field)&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 18:32:08 GMT</pubDate>
    <dc:creator>masonmorales</dc:creator>
    <dc:date>2017-06-06T18:32:08Z</dc:date>
    <item>
      <title>convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337605#M5118</link>
      <description>&lt;P&gt;I have unix time format on my log and wants to convert to human readable, the method using for epoch time didn't work for me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;3365196938 [http-bio-8080-exec-113] INFO  user login to the system with valid account [xxx.xxx.xxx]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337605#M5118</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2017-06-06T16:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337606#M5119</link>
      <description>&lt;P&gt;try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...|rex "(?&amp;lt;unixtime&amp;gt;\d+) "|eval time=strftime(unixtime,"%Y/%m/%d %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:42:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337606#M5119</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-06T16:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337607#M5120</link>
      <description>&lt;P&gt;thanks for quick response but unfortunately didn't work for m.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:54:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337607#M5120</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2017-06-06T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337608#M5121</link>
      <description>&lt;P&gt;what did it populate, if anything? what method were you using originally?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 17:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337608#M5121</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-06T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337609#M5122</link>
      <description>&lt;P&gt;it's populate with the same unix time format.&lt;/P&gt;

&lt;P&gt;3365196938 [http-bio-8080-exec-113] INFO  user login to the system with valid account [xxx.xxx.xxx]&lt;BR /&gt;
3365196939 [http-bio-8080-exec-113] INFO  user login to the system with valid account [xxx.xxx.xxx]&lt;BR /&gt;
3365196940 [http-bio-8080-exec-113] INFO  user login to the system with valid account [xxx.xxx.xxx]&lt;/P&gt;

&lt;P&gt;Ihave tried epoch time conversion but that didn't work (eval te=strptime(t,"%b %d %T %Y %Z") | eval tl=strftime(te,"%b %d %T %Y %Z")&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 17:56:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337609#M5122</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2017-06-06T17:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337610#M5123</link>
      <description>&lt;P&gt;Are you sure that the first number is actually a timestamp? When I use an epoch converter that timestamp lands in the year 2076. &lt;/P&gt;

&lt;P&gt;But, to answer your question, you can usually just do &lt;CODE&gt;convert ctime(your_epic_timestamp_field)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 18:32:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337610#M5123</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2017-06-06T18:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337611#M5124</link>
      <description>&lt;P&gt;Are you looking to update the raw event itself with human readable timestamp? The rex command actually extracts a new field, doesn't update raw data.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 19:30:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337611#M5124</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-06T19:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337612#M5125</link>
      <description>&lt;P&gt;I want to the new field not raw.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 21:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337612#M5125</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2017-06-06T21:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337613#M5126</link>
      <description>&lt;P&gt;Is that literally the exact number in your "Unix timestamp"?  That's sometime in August of 2076.&lt;/P&gt;

&lt;P&gt;My guess is that this is some sort of variant timestamp that is based on 1910.  Probably a windowing method someone invented to buy time for Y2K... or to get you past the 2038 problem...?  Naw, just nonsense.  What version of Unix are you running?  &lt;/P&gt;

&lt;P&gt;Also, can you confirm the exact local time on your cpu of any particular timestamp, or the interval between two of them?  Those three timestamps you posted are sequential numbers, so they might be log record numbers, rather than actual timestamps.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 22:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337613#M5126</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-06-06T22:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: convert unix time to human readable time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337614#M5127</link>
      <description>&lt;P&gt;3365196938 is not a valid epoch time. It seems way in the future.&lt;/P&gt;

&lt;P&gt;How do you translate it ?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 20:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/convert-unix-time-to-human-readable-time/m-p/337614#M5127</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2017-06-07T20:02:09Z</dc:date>
    </item>
  </channel>
</rss>

