<?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: How to configure for ISO 8601 date and time display? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134645#M27681</link>
    <description>&lt;P&gt;Answering my own question:  You cannot do that.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 20:49:45 GMT</pubDate>
    <dc:creator>pmocek</dc:creator>
    <dc:date>2017-11-02T20:49:45Z</dc:date>
    <item>
      <title>How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134643#M27679</link>
      <description>&lt;P&gt;How can I cause Splunk to perform all formatting for display of timestamps in compliance with ISO 8601, the international standard for representation of dates and times?&lt;/P&gt;

&lt;P&gt;I do not want to specify use of this format for a specific dashboard, view, or report.  I do not want to affect the parsing of timestamps when Splunk indexes data.  When Splunk formats a numeric representation of date and/or time for presentation to a user (not when it displays raw data), I want it to use the standard format.&lt;/P&gt;

&lt;P&gt;I do not believe that I can cause my browser to communicate this style guideline to Splunk, and no option for overriding the browser locale appears to offer this format.&lt;/P&gt;

&lt;P&gt;I am using Splunk 5.0.3.  My searches of the Web, Splunk's documentation, the Splunk wiki, and this knowledge base, have not turned up a direct solution, though "translating Splunk" (a heavy-handed operation I would prefer to avoid) may be an option.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 23:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134643#M27679</guid>
      <dc:creator>pmocek</dc:creator>
      <dc:date>2014-04-16T23:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134644#M27680</link>
      <description>&lt;P&gt;This is not the answer you want, but may help others that are looking to format a field in ISO 8601 format. Try&lt;BR /&gt;
&lt;CODE&gt;sourcetype="access_combined" |eval iso8601time=strftime(_time,"%Y-%m-%dT%H:%M:%S%z") |table _time, iso8601time&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time                 iso8601time
2015-06-24 14:01:59 2015-06-24T14:01:59-0700
2015-06-24 14:01:40 2015-06-24T14:01:40-0700
2015-06-24 14:01:31 2015-06-24T14:01:31-0700
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jun 2015 21:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134644#M27680</guid>
      <dc:creator>scentoni_splunk</dc:creator>
      <dc:date>2015-06-24T21:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134645#M27681</link>
      <description>&lt;P&gt;Answering my own question:  You cannot do that.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 20:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134645#M27681</guid>
      <dc:creator>pmocek</dc:creator>
      <dc:date>2017-11-02T20:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134646#M27682</link>
      <description>&lt;P&gt;This does not appear to cause Splunk to perform all formatting for display of timestamps in compliance with ISO 8601.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 20:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134646#M27682</guid>
      <dc:creator>pmocek</dc:creator>
      <dc:date>2017-11-02T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134647#M27683</link>
      <description>&lt;P&gt;well that's unacceptable, how are we supposed to parse  ISO 8601 then ?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2018 00:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134647#M27683</guid>
      <dc:creator>MohamedElagamy</dc:creator>
      <dc:date>2018-01-20T00:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134648#M27684</link>
      <description>&lt;P&gt;I also am trying to parse or reformat an ISO 8601 date into something more human friendly.  Hope someone can help.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 20:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/134648#M27684</guid>
      <dc:creator>darlas</dc:creator>
      <dc:date>2018-03-15T20:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure for ISO 8601 date and time display?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/672042#M112596</link>
      <description>&lt;P&gt;Hello darlas,&lt;/P&gt;
&lt;P&gt;Was just refreshing my knowledge of the ISO 8601 timestamp format, and read your post from 5 years and 9 months ago.&amp;nbsp; Don't see that anyone ever responded to your question.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"I also am trying to parse or reformat an ISO 8601 date into something more human friendly. Hope someone can help."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;ISO 8610 format:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| eval newtime=strftime(_time, "%Y-%m-%dT%H:%M:%S.%3N%z")&lt;/LI-CODE&gt;
&lt;P&gt;Here is something more human readable friendly without getting to far away from the ISO standard.&amp;nbsp; Like to change the year with century, %Y, to without century, %y, leave out the T separator and the time zone offset, %z, and add the milliseconds, %3N.&amp;nbsp; Also, like to add the @ between the date and time strings, but that can be added of removed depending on preference, and horizontal real estate available in the report or dashboard panel. Hope this helps - if you still need help.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| eval newtime=strftime(_time, "%m/%d/%y @ %H:%M:%S.%3N")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 15:26:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-for-ISO-8601-date-and-time-display/m-p/672042#M112596</guid>
      <dc:creator>Dennis</dc:creator>
      <dc:date>2023-12-15T15:26:05Z</dc:date>
    </item>
  </channel>
</rss>

