<?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: Syslog event timesteamp not display in correct format with no_priority_stripping = true in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-event-timesteamp-not-display-in-correct-format-with-no/m-p/483690#M82865</link>
    <description>&lt;P&gt;Do that at search time like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | fieldformat _time=strftime(strptime(_time, "%Y-%m-%dT%H:%M:%S%:Z"), "%m/%d/%Y %H:%M:%S") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Nov 2019 00:34:54 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-11-15T00:34:54Z</dc:date>
    <item>
      <title>Syslog event timesteamp not display in correct format with no_priority_stripping = true</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-event-timesteamp-not-display-in-correct-format-with-no/m-p/483689#M82864</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How do I display the correct syslog event timestamp in Splunk.&lt;/P&gt;

&lt;P&gt;this is Syslog Event timestamp when display in Splunk with no_priority_stripping=true.&lt;/P&gt;

&lt;P&gt;2019-11-14T14:34:02-08:00&lt;/P&gt;

&lt;P&gt;I want to display like 11/14/2019 14:34:02&lt;/P&gt;

&lt;P&gt;Below is the syslog event message.&lt;/P&gt;

&lt;P&gt;&amp;lt;134&amp;gt;1 2019-11-14T14:34:02-08:00 CPM-1600-1-ECM-ITLAB server - - [meta sequenceId="39" enterpriseId="2634.1.17.16" vendorId="WTI"] CPM: CPM-1600-1-ECM-ITLAB, (AUDIT LOG) DATE-TIME: 11/14/19 14:34:02, USERNAME: super                    LOGOUT By /X SSH Port 22&lt;BR /&gt;
host =  CPM-1600-1-ECM-ITLAB source =   udp:514 sourcetype =    syslog&lt;/P&gt;

&lt;P&gt;Looking forward to someone that can help out to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:57:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-event-timesteamp-not-display-in-correct-format-with-no/m-p/483689#M82864</guid>
      <dc:creator>matoulas</dc:creator>
      <dc:date>2020-09-30T02:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog event timesteamp not display in correct format with no_priority_stripping = true</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-event-timesteamp-not-display-in-correct-format-with-no/m-p/483690#M82865</link>
      <description>&lt;P&gt;Do that at search time like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | fieldformat _time=strftime(strptime(_time, "%Y-%m-%dT%H:%M:%S%:Z"), "%m/%d/%Y %H:%M:%S") | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2019 00:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-event-timesteamp-not-display-in-correct-format-with-no/m-p/483690#M82865</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-11-15T00:34:54Z</dc:date>
    </item>
  </channel>
</rss>

