<?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 TIMESTAMP_FIELDS vs INDEXED_EXTRACTIONS vs KV_MODE in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556660#M92125</link>
    <description>&lt;P&gt;Context is structured sourcetypes such as JSON. &amp;nbsp;First,&amp;nbsp;Does use of&amp;nbsp;TIMESTAMP_FIELDS require&amp;nbsp;INDEXED_EXTRACTIONS? (The Web UI suggests so.)&lt;/P&gt;&lt;P&gt;In&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Bug-Duplicate-values-with-INDEXED-EXTRACTION/m-p/500194/highlight/true#M85236" target="_blank" rel="noopener"&gt;Bug: Duplicate values with INDEXED_EXTRACTION?&lt;/A&gt;,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/124089"&gt;@badrinath_itrs&lt;/a&gt;&amp;nbsp;referred to an intense case study&amp;nbsp;&lt;A href="https://hurricanelabs.com/splunk-tutorials/the-indexed-extractions-vs-search-time-extractions-splunk-case-study/" target="_blank" rel="noopener"&gt;The Indexed Extractions vs. Search-Time Extractions Splunk Case Study&lt;/A&gt;&amp;nbsp;regarding&amp;nbsp;INDEXED_EXTRACTIONS:&lt;/P&gt;&lt;BLOCKQUOTE&gt;To summarize, Indexed Extractions should be used with caution. Splunk gives a pretty fair warning against using them in almost any doc that references Indexed Extractions, including their&amp;nbsp;&lt;A href="https://docs.splunk.com/Splexicon:Indexedfield" target="_blank" rel="noopener noreferrer"&gt;definition on Splexicon&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then, I &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Which-timestamp-does-indexer-use-as-time/m-p/556430#M92105" target="_blank" rel="noopener"&gt;realized that&lt;/A&gt; for JSON documents whose timestamp fields falls beyond 128 characters, it is better to set&amp;nbsp;INDEXED_EXTRACTIONS=json in conjunction with&amp;nbsp;TIMESTAMP_FIELDS. (There is an index-time penalty to set&amp;nbsp;&lt;SPAN&gt;MAX_TIMESTAMP_LOOKAHEAD too large.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;INDEXED_EXTRACTIONS=json then causes duplicate values at search time unless KV_MODE is set to none on search head. &amp;nbsp;Given Splunk's extraordinary search time capabilities, if I can use TIMESTAMP_FIELDS in conjunction with INDEXED_EXTRACTIONS=none, the problem would be solved without touching KV_MODE. &amp;nbsp;Is this possible?&lt;/P&gt;&lt;P&gt;Secondly, because&amp;nbsp;INDEXED_EXTRACTIONS=json nearly demands use of KV_MODE=none, wouldn't it be useful for the Web GUI to automatically set KV_MODE=none when "&lt;SPAN&gt;Indexed Extractions" selector points to a structured sourcetype? &amp;nbsp;The user can still override in Advanced view, but the presence of this default can save lots of headaches for people like me.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jun 2021 10:53:57 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2021-06-22T10:53:57Z</dc:date>
    <item>
      <title>TIMESTAMP_FIELDS vs INDEXED_EXTRACTIONS vs KV_MODE</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556660#M92125</link>
      <description>&lt;P&gt;Context is structured sourcetypes such as JSON. &amp;nbsp;First,&amp;nbsp;Does use of&amp;nbsp;TIMESTAMP_FIELDS require&amp;nbsp;INDEXED_EXTRACTIONS? (The Web UI suggests so.)&lt;/P&gt;&lt;P&gt;In&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Bug-Duplicate-values-with-INDEXED-EXTRACTION/m-p/500194/highlight/true#M85236" target="_blank" rel="noopener"&gt;Bug: Duplicate values with INDEXED_EXTRACTION?&lt;/A&gt;,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/124089"&gt;@badrinath_itrs&lt;/a&gt;&amp;nbsp;referred to an intense case study&amp;nbsp;&lt;A href="https://hurricanelabs.com/splunk-tutorials/the-indexed-extractions-vs-search-time-extractions-splunk-case-study/" target="_blank" rel="noopener"&gt;The Indexed Extractions vs. Search-Time Extractions Splunk Case Study&lt;/A&gt;&amp;nbsp;regarding&amp;nbsp;INDEXED_EXTRACTIONS:&lt;/P&gt;&lt;BLOCKQUOTE&gt;To summarize, Indexed Extractions should be used with caution. Splunk gives a pretty fair warning against using them in almost any doc that references Indexed Extractions, including their&amp;nbsp;&lt;A href="https://docs.splunk.com/Splexicon:Indexedfield" target="_blank" rel="noopener noreferrer"&gt;definition on Splexicon&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then, I &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Which-timestamp-does-indexer-use-as-time/m-p/556430#M92105" target="_blank" rel="noopener"&gt;realized that&lt;/A&gt; for JSON documents whose timestamp fields falls beyond 128 characters, it is better to set&amp;nbsp;INDEXED_EXTRACTIONS=json in conjunction with&amp;nbsp;TIMESTAMP_FIELDS. (There is an index-time penalty to set&amp;nbsp;&lt;SPAN&gt;MAX_TIMESTAMP_LOOKAHEAD too large.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;INDEXED_EXTRACTIONS=json then causes duplicate values at search time unless KV_MODE is set to none on search head. &amp;nbsp;Given Splunk's extraordinary search time capabilities, if I can use TIMESTAMP_FIELDS in conjunction with INDEXED_EXTRACTIONS=none, the problem would be solved without touching KV_MODE. &amp;nbsp;Is this possible?&lt;/P&gt;&lt;P&gt;Secondly, because&amp;nbsp;INDEXED_EXTRACTIONS=json nearly demands use of KV_MODE=none, wouldn't it be useful for the Web GUI to automatically set KV_MODE=none when "&lt;SPAN&gt;Indexed Extractions" selector points to a structured sourcetype? &amp;nbsp;The user can still override in Advanced view, but the presence of this default can save lots of headaches for people like me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 10:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556660#M92125</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2021-06-22T10:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP_FIELDS vs INDEXED_EXTRACTIONS vs KV_MODE</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556677#M92127</link>
      <description>&lt;P&gt;I think you've made the case for not using TIMESTAMP_FIELDS when using INDEXED_EXTRACTIONS.&amp;nbsp; That leaves you with TIME_PREFIIX as the way to tell Splunk where the timestamp is.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 12:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556677#M92127</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-06-22T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP_FIELDS vs INDEXED_EXTRACTIONS vs KV_MODE</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556756#M92134</link>
      <description>&lt;P&gt;Thanks for the suggestion,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;. I did briefly look into &lt;SPAN&gt;TIME_PREFIX&lt;/SPAN&gt;, but reasoned against it because prefixing texts (even with regex) in structured data feels awkward. Not only is this less elegant (not quite in aesthetics, but in "let the server do what it does best" - extract structured data), but it is more difficult to document, and in a way the regex has to anticipate possible JSON formatting variants - again, a job that the indexer does best.&lt;/P&gt;&lt;P&gt;Maybe I need to take a second look at this assessment.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 18:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/556756#M92134</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2021-06-22T18:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP_FIELDS vs INDEXED_EXTRACTIONS vs KV_MODE</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/705041#M116618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Did able to find the solution for this issue? we are also facing same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 14:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/705041#M116618</guid>
      <dc:creator>KJ10</dc:creator>
      <dc:date>2024-11-22T14:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: TIMESTAMP_FIELDS vs INDEXED_EXTRACTIONS vs KV_MODE</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/705046#M116620</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271361"&gt;@KJ10&lt;/a&gt;&lt;/SPAN&gt; ,&lt;/P&gt;
&lt;P&gt;I’m a Community Moderator in the Splunk Community.&lt;/P&gt;
&lt;P&gt;This question was posted 3 years ago, so it might not get the attention you need for your question to be answered. We recommend that you post a new question so that your issue can get the &amp;nbsp;visibility it deserves. To increase your chances of getting help from the community, follow &lt;A href="http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Questions" target="_blank"&gt;&lt;U&gt;these guidelines&lt;/U&gt;&lt;/A&gt; in the Splunk Answers User Manual when creating your post.&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 15:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/TIMESTAMP-FIELDS-vs-INDEXED-EXTRACTIONS-vs-KV-MODE/m-p/705046#M116620</guid>
      <dc:creator>DanielPi</dc:creator>
      <dc:date>2024-11-22T15:04:27Z</dc:date>
    </item>
  </channel>
</rss>

