<?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 Problem in displaying timestmap in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173316#M34855</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;There is a requirement to change the time format from "04/04/14 13:11:37" to "Mon April 04 2014 13:11:37" .I tried the search query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=fxr SNM* ASRRLUI | rex "^\S+\s(?&amp;lt;unique_field&amp;gt;\S+.\S+) ::"|transaction unique_field startswith="User logged off" endswith="Processing complete"| rex field=_raw "::\s(?&amp;lt;success_t&amp;gt;\S+\s\d+:\d+:\d+) :: User logged off"|eval Output_Timestamp=strptime(success_t,"%y/%m/%d %H:%M:%S")|eval Timestamp=strftime(Output_Timestamp,"%a %B %e %T %Y")|table success_t Output_Timestamp Timestamp unique_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When the above search query is ran,the result is not getting displayed for some events.The #1 logs displays the timestamp whereas #2 doesnt displays the Timestamp.&lt;/P&gt;

&lt;P&gt;The sample logs are as follows&lt;/P&gt;

&lt;P&gt;1)&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: Processing complete&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: .&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: .&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: .&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:41 :: User logged off, Processing will begin&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:41 :: All received data will be processed as SAF for BTWA3FLR&lt;/P&gt;

&lt;P&gt;2)SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 :: User logged off, Processing will begin&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:28 :: Processing complete&lt;/P&gt;</description>
    <pubDate>Wed, 21 May 2014 07:13:34 GMT</pubDate>
    <dc:creator>Jananee_iNautix</dc:creator>
    <dc:date>2014-05-21T07:13:34Z</dc:date>
    <item>
      <title>Problem in displaying timestmap</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173316#M34855</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;There is a requirement to change the time format from "04/04/14 13:11:37" to "Mon April 04 2014 13:11:37" .I tried the search query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=fxr SNM* ASRRLUI | rex "^\S+\s(?&amp;lt;unique_field&amp;gt;\S+.\S+) ::"|transaction unique_field startswith="User logged off" endswith="Processing complete"| rex field=_raw "::\s(?&amp;lt;success_t&amp;gt;\S+\s\d+:\d+:\d+) :: User logged off"|eval Output_Timestamp=strptime(success_t,"%y/%m/%d %H:%M:%S")|eval Timestamp=strftime(Output_Timestamp,"%a %B %e %T %Y")|table success_t Output_Timestamp Timestamp unique_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When the above search query is ran,the result is not getting displayed for some events.The #1 logs displays the timestamp whereas #2 doesnt displays the Timestamp.&lt;/P&gt;

&lt;P&gt;The sample logs are as follows&lt;/P&gt;

&lt;P&gt;1)&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: Processing complete&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: .&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: .&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:44 :: .&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:41 :: User logged off, Processing will begin&lt;BR /&gt;
SNM4 ASRRLUI.43U :: 04/04/14 18:18:41 :: All received data will be processed as SAF for BTWA3FLR&lt;/P&gt;

&lt;P&gt;2)SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 :: User logged off, Processing will begin&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .&lt;BR /&gt;
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:28 :: Processing complete&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 07:13:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173316#M34855</guid>
      <dc:creator>Jananee_iNautix</dc:creator>
      <dc:date>2014-05-21T07:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in displaying timestmap</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173317#M34856</link>
      <description>&lt;P&gt;Hi Jananee_iNautix,&lt;/P&gt;

&lt;P&gt;take a closer look at this &lt;CODE&gt;eval&lt;/CODE&gt; you're using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval Output_Timestamp=strptime(success_t,"%y/%m/%d %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you want to have month at second place in &lt;CODE&gt;success_t&lt;/CODE&gt; value, but look at the second example you provided:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 :: User logged off, Processing will begin
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:24 ::  .
SNM4 BTWA3SLR.665F :: 05/14/14 18:24:28 :: Processing complete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;what could be the 14th month of the year? &lt;BR /&gt;
So, this is not the month but something different.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 08:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173317#M34856</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-21T08:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in displaying timestmap</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173318#M34857</link>
      <description>&lt;P&gt;Thanks....&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 09:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173318#M34857</guid>
      <dc:creator>Jananee_iNautix</dc:creator>
      <dc:date>2014-05-22T09:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in displaying timestmap</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173319#M34858</link>
      <description>&lt;P&gt;you're welcome. please mark this answered by ticking the tick - thx&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 10:31:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-in-displaying-timestmap/m-p/173319#M34858</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-22T10:31:18Z</dc:date>
    </item>
  </channel>
</rss>

