<?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: TimeStamp problem in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226811#M98958</link>
    <description>&lt;P&gt;If you are trying to extract the date from your event, ie 13Jan2015, you can use&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;spec&amp;gt;]
TIME_PREFIX = \d{3};
TIME_FORMAT = %d%b%Y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where spec can be host,source,sourcetype&lt;/P&gt;

&lt;P&gt;Reference : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2016 13:56:12 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2016-01-15T13:56:12Z</dc:date>
    <item>
      <title>TimeStamp problem</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226810#M98957</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a timestamp problem on Splunk. &lt;BR /&gt;
I am working with log file who looks like :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;numberline;date;ipsrc;ipdst&lt;BR /&gt;
102;13Jan2015;10.10.10.10;12.12.12.12&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;On splunk the date is 15 january but on the raw date we are in 13 january ...&lt;BR /&gt;
I know that I have to configure propers.config,date_time.xml ect but what is the command to extract the date without space correctly ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 11:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226810#M98957</guid>
      <dc:creator>geantvert007</dc:creator>
      <dc:date>2016-01-15T11:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: TimeStamp problem</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226811#M98958</link>
      <description>&lt;P&gt;If you are trying to extract the date from your event, ie 13Jan2015, you can use&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;spec&amp;gt;]
TIME_PREFIX = \d{3};
TIME_FORMAT = %d%b%Y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where spec can be host,source,sourcetype&lt;/P&gt;

&lt;P&gt;Reference : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 13:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226811#M98958</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-15T13:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: TimeStamp problem</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226812#M98959</link>
      <description>&lt;P&gt;Thanks renjith.nair,&lt;BR /&gt;
I will try this.&lt;/P&gt;

&lt;P&gt;On the splunk document they talk about the props.conf but I have use the local or the default props.config  to enable the extraction ?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 14:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226812#M98959</guid>
      <dc:creator>geantvert007</dc:creator>
      <dc:date>2016-01-15T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: TimeStamp problem</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226813#M98960</link>
      <description>&lt;P&gt;For all your configuration, use local. Also please not that you might need to adjust the time prefix regex to match all your events&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 15:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TimeStamp-problem/m-p/226813#M98960</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-15T15:32:13Z</dc:date>
    </item>
  </channel>
</rss>

