<?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: Need to remove T and Z from output timestamp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667044#M228835</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval stime=strftime(strptime(stime,"%FT%TZ"),"%F %T")
| eval etime=strftime(strptime(etime,"%FT%TZ"),"%F %T")
| eval orgstime=strftime(strptime(orgstime,"%FT%TZ"),"%F %T")
| eval orgetime=strftime(strptime(orgetime,"%FT%TZ"),"%F %T")&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 01 Nov 2023 17:22:22 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-11-01T17:22:22Z</dc:date>
    <item>
      <title>Need to remove T and Z from output timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667037#M228832</link>
      <description>&lt;P&gt;I am trying to remove T and Z from the output timestamp results. Can you please help me with the query to remove&amp;nbsp; and space in the place of T and Z.&lt;/P&gt;&lt;P&gt;2023-11-01T15:54:00Z&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 17:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667037#M228832</guid>
      <dc:creator>ravir_jbp</dc:creator>
      <dc:date>2023-11-01T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove T and Z from output timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667038#M228833</link>
      <description>&lt;LI-CODE lang="markup"&gt;| makeresults
| eval time="2023-11-01T15:54:00Z"
| eval reformatted=strftime(strptime(time,"%FT%TZ"),"%F %T")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Nov 2023 17:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667038#M228833</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-01T17:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove T and Z from output timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667041#M228834</link>
      <description>&lt;P&gt;This is the final stats results I got it now. The query you have shared is used to modify specific time. But I like to modify the timestamp on all the below mentioned column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timestamp.JPG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27912iC341634850951A18/image-size/large?v=v2&amp;amp;px=999" role="button" title="timestamp.JPG" alt="timestamp.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 17:16:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667041#M228834</guid>
      <dc:creator>ravir_jbp</dc:creator>
      <dc:date>2023-11-01T17:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove T and Z from output timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667044#M228835</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval stime=strftime(strptime(stime,"%FT%TZ"),"%F %T")
| eval etime=strftime(strptime(etime,"%FT%TZ"),"%F %T")
| eval orgstime=strftime(strptime(orgstime,"%FT%TZ"),"%F %T")
| eval orgetime=strftime(strptime(orgetime,"%FT%TZ"),"%F %T")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Nov 2023 17:22:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667044#M228835</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-01T17:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove T and Z from output timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667054#M228842</link>
      <description>&lt;P&gt;As I noted in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Date-time-formatting-variables-not-producing-result-I-expected/m-p/666477#M228639" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Date-time-formatting-variables-not-producing-result-I-expected/m-p/666477#M228639&lt;/A&gt;, the letter "Z" signifies a standard time zone and you should NOT simply remove it. &amp;nbsp;Instead, Splunk should process it as a timezone token before you render the end result in any string format you wanted. &amp;nbsp;In other words,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval stime=strftime(strptime(stime,"%FT%T%Z"),"%F %T")
| eval etime=strftime(strptime(etime,"%FT%T%Z"),"%F %T")
| eval orgstime=strftime(strptime(orgstime,"%FT%T%Z"),"%F %T")
| eval orgetime=strftime(strptime(orgetime,"%FT%T%Z"),"%F %T")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 19:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-T-and-Z-from-output-timestamp/m-p/667054#M228842</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-11-01T19:28:20Z</dc:date>
    </item>
  </channel>
</rss>

