<?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 Any idea on where I am going wrong with bash_history timestamping? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Any-idea-on-where-I-am-going-wrong-with-bash-history/m-p/416614#M73580</link>
    <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I am extracting bash_history, the event looks like this. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#1510170881
grep -r something *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But ends up with this timestamp&lt;BR /&gt;
5/23/18 12:05:39.000 PM&lt;/P&gt;

&lt;P&gt;I believe it should be &lt;BR /&gt;
5/23/18 22:08:30.000 PM&lt;/P&gt;

&lt;P&gt;My props.conf looks like this - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[bash_history]
 BREAK_ONLY_BEFORE = #(?=\d+)
 MAX_TIMESTAMP_LOOKAHEAD = 11
 SHOULD_LINEMERGE = true
 TIME_FORMAT = %s
 TIME_PREFIX = #
 TRANSFORMS-bashhistory = route_to_indexers
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas where I might be going wrong with this? &lt;/P&gt;</description>
    <pubDate>Wed, 23 May 2018 22:19:08 GMT</pubDate>
    <dc:creator>daniel333</dc:creator>
    <dc:date>2018-05-23T22:19:08Z</dc:date>
    <item>
      <title>Any idea on where I am going wrong with bash_history timestamping?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Any-idea-on-where-I-am-going-wrong-with-bash-history/m-p/416614#M73580</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I am extracting bash_history, the event looks like this. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#1510170881
grep -r something *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But ends up with this timestamp&lt;BR /&gt;
5/23/18 12:05:39.000 PM&lt;/P&gt;

&lt;P&gt;I believe it should be &lt;BR /&gt;
5/23/18 22:08:30.000 PM&lt;/P&gt;

&lt;P&gt;My props.conf looks like this - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[bash_history]
 BREAK_ONLY_BEFORE = #(?=\d+)
 MAX_TIMESTAMP_LOOKAHEAD = 11
 SHOULD_LINEMERGE = true
 TIME_FORMAT = %s
 TIME_PREFIX = #
 TRANSFORMS-bashhistory = route_to_indexers
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas where I might be going wrong with this? &lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 22:19:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Any-idea-on-where-I-am-going-wrong-with-bash-history/m-p/416614#M73580</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2018-05-23T22:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Any idea on where I am going wrong with bash_history timestamping?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Any-idea-on-where-I-am-going-wrong-with-bash-history/m-p/416615#M73581</link>
      <description>&lt;P&gt;Is the bash_history file in a different time zone from your Splunk account setting?&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 23:00:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Any-idea-on-where-I-am-going-wrong-with-bash-history/m-p/416615#M73581</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-05-23T23:00:52Z</dc:date>
    </item>
  </channel>
</rss>

