<?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 Extract timestamp in db2audit in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187797#M37500</link>
    <description>&lt;P&gt;Hi, I need Splunk to recognize the timestamps down to microseconds.&lt;/P&gt;

&lt;P&gt;A sample event is listed below&lt;/P&gt;

&lt;P&gt;"2014-06-03-18.30.02.188462","SYSADMIN","DB2AUDIT",2,0,"","dsbdbadm","DSBDBADM",,,"*LOCAL.dsbdbadm.140603103002","db2audit",,,,,,,,,,,,,,,&lt;/P&gt;

&lt;P&gt;test]&lt;BR /&gt;
TIME_PREFIX = ^"&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d-%H.%M.%S.%6N&lt;/P&gt;

&lt;P&gt;But didn’t work.&lt;BR /&gt;
Any suggestion?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:47:14 GMT</pubDate>
    <dc:creator>edwardman88</dc:creator>
    <dc:date>2020-09-28T16:47:14Z</dc:date>
    <item>
      <title>Extract timestamp in db2audit</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187797#M37500</link>
      <description>&lt;P&gt;Hi, I need Splunk to recognize the timestamps down to microseconds.&lt;/P&gt;

&lt;P&gt;A sample event is listed below&lt;/P&gt;

&lt;P&gt;"2014-06-03-18.30.02.188462","SYSADMIN","DB2AUDIT",2,0,"","dsbdbadm","DSBDBADM",,,"*LOCAL.dsbdbadm.140603103002","db2audit",,,,,,,,,,,,,,,&lt;/P&gt;

&lt;P&gt;test]&lt;BR /&gt;
TIME_PREFIX = ^"&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d-%H.%M.%S.%6N&lt;/P&gt;

&lt;P&gt;But didn’t work.&lt;BR /&gt;
Any suggestion?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187797#M37500</guid>
      <dc:creator>edwardman88</dc:creator>
      <dc:date>2020-09-28T16:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract timestamp in db2audit</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187798#M37501</link>
      <description>&lt;P&gt;Have you tried omitting TIME_PREFIX?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2014 12:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187798#M37501</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-06-04T12:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extract timestamp in db2audit</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187799#M37502</link>
      <description>&lt;P&gt;This worked fine with your sample data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[timetest]
SHOULD_LINEMERGE=false
TIME_FORMAT=\"%Y-%m-%d-%H.%M.%S.%6N\"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jun 2014 13:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187799#M37502</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-04T13:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extract timestamp in db2audit</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187800#M37503</link>
      <description>&lt;P&gt;I try to change the setting &lt;/P&gt;

&lt;P&gt;In the props.conf&lt;BR /&gt;
[test]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_FORMAT=\"%Y-%m-%d-%H.%M.%S.%6N\"&lt;BR /&gt;
In the inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///audit/03/instance/audit.del]&lt;BR /&gt;
sourcetype = test&lt;BR /&gt;
source = sat&lt;BR /&gt;
index = sat&lt;/P&gt;

&lt;P&gt;But splunk still can't get the log&lt;/P&gt;

&lt;P&gt;We try delete the microseconds in the audit.del, the splunk can get the log.&lt;/P&gt;

&lt;P&gt;Please advise!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-timestamp-in-db2audit/m-p/187800#M37503</guid>
      <dc:creator>edwardman88</dc:creator>
      <dc:date>2020-09-28T16:47:45Z</dc:date>
    </item>
  </channel>
</rss>

