<?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: How to get the indexed stamp in the splunk logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479875#M99837</link>
    <description>&lt;P&gt;Tried changing the entries to :&lt;/P&gt;

&lt;P&gt;TIME_PREFIX=\"created\":\s\"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%:z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/P&gt;

&lt;P&gt;as well as :&lt;/P&gt;

&lt;P&gt;TIME_PREFIX="created":\s"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%:z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/P&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;P&gt;TIME_PREFIX=\"created\":\s\"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/P&gt;

&lt;P&gt;None of the above worked. &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:53:38 GMT</pubDate>
    <dc:creator>rishma</dc:creator>
    <dc:date>2020-09-30T02:53:38Z</dc:date>
    <item>
      <title>How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479870#M99832</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have logs format like : &lt;BR /&gt;
{"guid": "ABC", "type": "email", "value": "email", "session": "sessioid", "service": "HTTP", "created": "2019-11-07T22:41:28.682+00:00", "remote_host": "ip"}&lt;/P&gt;

&lt;P&gt;I want to get the timestamp for indexing based on "created" field and want tp show it during search results under _time. &lt;/P&gt;

&lt;P&gt;I used the below props.conf :&lt;BR /&gt;
[sourcetype]&lt;BR /&gt;
TIME_PREFIX = "created":\s"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 1000&lt;/P&gt;

&lt;P&gt;But its not working. Please guide. &lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:53:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479870#M99832</guid>
      <dc:creator>rishma</dc:creator>
      <dc:date>2020-09-30T02:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479871#M99833</link>
      <description>&lt;P&gt;Have you tried escaping the quotation marks in your TIME_PREFIX ? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = \"created\":\s\"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Nov 2019 00:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479871#M99833</guid>
      <dc:creator>dflodstrom</dc:creator>
      <dc:date>2019-11-08T00:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479872#M99834</link>
      <description>&lt;P&gt;Try &lt;CODE&gt;TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%:z&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 01:02:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479872#M99834</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-11-08T01:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479873#M99835</link>
      <description>&lt;P&gt;Tried it. But same response. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 01:47:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479873#M99835</guid>
      <dc:creator>rishma</dc:creator>
      <dc:date>2019-11-08T01:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479874#M99836</link>
      <description>&lt;P&gt;Tried it. Same response.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 01:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479874#M99836</guid>
      <dc:creator>rishma</dc:creator>
      <dc:date>2019-11-08T01:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479875#M99837</link>
      <description>&lt;P&gt;Tried changing the entries to :&lt;/P&gt;

&lt;P&gt;TIME_PREFIX=\"created\":\s\"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%:z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/P&gt;

&lt;P&gt;as well as :&lt;/P&gt;

&lt;P&gt;TIME_PREFIX="created":\s"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%:z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/P&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;P&gt;TIME_PREFIX=\"created\":\s\"&lt;BR /&gt;
KV_MODE=JSON&lt;BR /&gt;
INDEXED_EXTRACTIONS=JSON&lt;BR /&gt;
TZ=UTC&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N%z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 100&lt;/P&gt;

&lt;P&gt;None of the above worked. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479875#M99837</guid>
      <dc:creator>rishma</dc:creator>
      <dc:date>2020-09-30T02:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479876#M99838</link>
      <description>&lt;P&gt;You can try just using &lt;STRONG&gt;TIMESTAMP_FIELDS&lt;/STRONG&gt;, ignore other attributes (TIME_PREFIX, TZ, TIME_FORMAT, MAX_TIMESTAMP_LOOKAHEAD). And also attribute &lt;STRONG&gt;KV_MODE&lt;/STRONG&gt; is not required during indexed time field extractions.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
INDEXED_EXTRACTIONS = json
KV_MODE = none
TIMESTAMP_FIELDS = created
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479876#M99838</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-09-30T02:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the indexed stamp in the splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479877#M99839</link>
      <description>&lt;P&gt;Tried this too. But same response. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 16:13:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-indexed-stamp-in-the-splunk-logs/m-p/479877#M99839</guid>
      <dc:creator>rishma</dc:creator>
      <dc:date>2019-11-08T16:13:18Z</dc:date>
    </item>
  </channel>
</rss>

