<?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: Help with a STRPTIME in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86242#M21991</link>
    <description>&lt;P&gt;that worked great thank you very much. I read right over the %a function when looking up strptime formats.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2012 22:42:45 GMT</pubDate>
    <dc:creator>cramasta</dc:creator>
    <dc:date>2012-03-06T22:42:45Z</dc:date>
    <item>
      <title>Help with a STRPTIME</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86240#M21989</link>
      <description>&lt;P&gt;So when Splunk admon changed from 4.1.5 to 4.1.6 they also changed how it exacted a timestamp field from AD&lt;/P&gt;

&lt;P&gt;4.1.5 had fields that looked like this&lt;/P&gt;

&lt;P&gt;whenChanged=20100128233113.0Z&lt;/P&gt;

&lt;P&gt;whenCreated=20100128232712.0Z&lt;/P&gt;

&lt;P&gt;With this format I could create a nice STRPTIME that worked for turning this into timestamp splunk understood&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;4.1.6 came out and changed it to this&lt;/P&gt;

&lt;P&gt;whenCreated=10:15.04 pm, Tue 02/12/2008&lt;/P&gt;

&lt;P&gt;whenChanged=10:23.00 pm, Tue 02/12/2008&lt;/P&gt;

&lt;P&gt;In 4.3 ADMON the timestamp is still extracted in the 4.1.6 format&lt;/P&gt;

&lt;P&gt;Does anyone have any suggestions on how I can create a STRPTIME to recognize this format. I cant seem to figure out a way to get it to understand/ignore the abbreviated days of the week.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 22:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86240#M21989</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2012-03-06T22:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a STRPTIME</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86241#M21990</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;strptime(whenCreated, "%I:%M.%S %p, %a %m/%d/%Y")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;should work...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 22:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86241#M21990</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-03-06T22:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a STRPTIME</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86242#M21991</link>
      <description>&lt;P&gt;that worked great thank you very much. I read right over the %a function when looking up strptime formats.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 22:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-a-STRPTIME/m-p/86242#M21991</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2012-03-06T22:42:45Z</dc:date>
    </item>
  </channel>
</rss>

