<?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: Do I need to use INDEXED_EXTRACTIONS when using FIELD_DELIMITER &amp;amp; FIELD_NAMES on UF? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Do-I-need-to-use-INDEXED-EXTRACTIONS-when-using-FIELD-DELIMITER/m-p/742987#M118044</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272718"&gt;@StephenD1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;FIELD_NAMES&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;FIELD_DELIMITER&lt;SPAN&gt;&amp;nbsp;attributes only apply when&amp;nbsp;&lt;/SPAN&gt;INDEXED_EXTRACTIONS&lt;SPAN&gt;&amp;nbsp;is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please have a look&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Error-Bug-during-applyPendingMetadata-header-processor-does-not/m-p/239170" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Error-Bug-during-applyPendingMetadata-header-processor-does-not/m-p/239170&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;The key here is that you are using INDEXED_EXTRACTIONS. Sourcetypes that use INDEXED_EXTRACTIONS need to have their props.conf on the universal forwarder. There is a good explanation as to the "why" here:&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Why-is-the-sourcetype-specified-in-inputs-conf-on-the-universal/td-p/110285?_gl=1*11h7fp1*_gcl_au*MTY2NzExOTYxOS4xNzQxOTY4Mjky*FPAU*MTY2NzExOTYxOS4xNzQxOTY4Mjky*_ga*MTExNTc3MzM4LjE3NDE5NjgyOTM.*_ga_5EPM2P39FV*MTc0MzIxMzIwOC4xNi4xLjE3NDMyMTUwNjUuMC4wLjE1MTQ4MzIwNzM.*_fplc*U01xUU5CVXpnQmdOems5T1I3YTNFQ3RIODdFRnllRmhWUU5JcXd6bmw5bkh4JTJGS2lKcG9jRm1CbnNSSW80bVBuTmdvdVVhS2RZJTJGeWxCWkJOVk5MMGVMWkhKeDJNQlduOHpXUXFNaHZ4aDMlMkJNOWVhNDRsWGxRbHRGeEMydmNnJTNEJTNE" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Why-is-the-sourcetype-specified-in-inputs-conf-on-the-universal/td-p/110285?_gl=1*11h7fp1*_gcl_au*MTY2NzExOTYxOS4xNzQxOTY4Mjky*FPAU*MTY2NzExOTYxOS4xNzQxOTY4Mjky*_ga*MTExNTc3MzM4LjE3NDE5NjgyOTM.*_ga_5EPM2P39FV*MTc0MzIxMzIwOC4xNi4xLjE3NDMyMTUwNjUuMC4wLjE1MTQ4MzIwNzM.*_fplc*U01xUU5CVXpnQmdOems5T1I3YTNFQ3RIODdFRnllRmhWUU5JcXd6bmw5bkh4JTJGS2lKcG9jRm1CbnNSSW80bVBuTmdvdVVhS2RZJTJGeWxCWkJOVk5MMGVMWkhKeDJNQlduOHpXUXFNaHZ4aDMlMkJNOWVhNDRsWGxRbHRGeEMydmNnJTNEJTNE&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;INDEXED_EXTRACTIONS is a somewhat special processor that is usually done on universal forwarders to ingest structured data. This is done in the parsing queue. The slides for the 2015 conf session are here&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://conf.splunk.com/session/2015/conf2015_ABath_JKerai_Splunk_SplunkClassics_HowSplunkdWorks.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/session/2015/conf2015_ABath_JKerai_Splunk_SplunkClassics_HowSplunkdWorks.pdf&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FIELD_DELIMITER = &amp;lt;character&amp;gt;
* Which character delimits or separates fields in the
  specified file or source.
* You can use the delimiters for structured data header extraction with
  this setting.
* This setting supports the use of the special characters described above.
* The default can vary if 'INDEXED_EXTRACTIONS' is set.
* Default (if 'INDEXED_EXTRACTIONS' is not set): not set&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FIELD_NAMES = [ &amp;lt;string&amp;gt;,..., &amp;lt;string&amp;gt;]
* Some CSV and structured files might have missing headers.
* This setting tells Splunk software to specify the header field names directly.
* The default can vary if 'INDEXED_EXTRACTIONS' is set.
* Default (if 'INDEXED_EXTRACTIONS' is not set): not set&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Mar 2025 02:28:51 GMT</pubDate>
    <dc:creator>kiran_panchavat</dc:creator>
    <dc:date>2025-03-29T02:28:51Z</dc:date>
    <item>
      <title>Do I need to use INDEXED_EXTRACTIONS when using FIELD_DELIMITER &amp; FIELD_NAMES on UF?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-I-need-to-use-INDEXED-EXTRACTIONS-when-using-FIELD-DELIMITER/m-p/742984#M118042</link>
      <description>&lt;P&gt;I've noticed an issue with one of my syslog indexes. I have a syslog server centralizing and forwarding syslogs for 6 different indexes. Not too long ago, I modified one of the indexes to extract fields at the UF instead of the indexer (this solved another problem that is not relevant here; I can provide detail if it becomes relevant). I noticed that occasionally, that index that is extracting fieldnames at the UF stops sending while the others are sending. The only thing that reliably gets it sending again is restarting the Splunk service on the UF. I'm newish to Splunk so I'm sure I am not troubleshooting all the things I should be. The one thing I noticed is right before the index stops sending, I see errors in the _internal host index&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR TailReader [2264207 tailreader0] - Ignoring path="&amp;lt;path/to/log/syslog.log&amp;gt;" due to:   Bug during applyPendingMetadata, header processor does not own the indexed extractions confs.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on some research here I think I've discovered the problem but I need confirmation before I start making changes. I added the following fields for the sourcetypes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forwarder: props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sourcetype:here]
FIELD_DELIMITER = whitespace
FIELD_NAMES = field1,field2,field3,etc...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the problem is I did not specify&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
INDEXED_EXTRACTIONS = W3C
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is, do I need the&amp;nbsp;INDEXED_EXTRACTIONS parameter if I use the&amp;nbsp;FIELD_DELIMITER &amp;amp; FIELD_NAMES or can those be used without it?&lt;/P&gt;&lt;P&gt;I believe this is what is missing and causing Splunk to periodically stop processing the file. If I do not need it, then I would need to search for a different cause. Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 22:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-I-need-to-use-INDEXED-EXTRACTIONS-when-using-FIELD-DELIMITER/m-p/742984#M118042</guid>
      <dc:creator>StephenD1</dc:creator>
      <dc:date>2025-03-28T22:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Do I need to use INDEXED_EXTRACTIONS when using FIELD_DELIMITER &amp; FIELD_NAMES on UF?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-I-need-to-use-INDEXED-EXTRACTIONS-when-using-FIELD-DELIMITER/m-p/742987#M118044</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272718"&gt;@StephenD1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;FIELD_NAMES&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;FIELD_DELIMITER&lt;SPAN&gt;&amp;nbsp;attributes only apply when&amp;nbsp;&lt;/SPAN&gt;INDEXED_EXTRACTIONS&lt;SPAN&gt;&amp;nbsp;is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please have a look&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Error-Bug-during-applyPendingMetadata-header-processor-does-not/m-p/239170" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Error-Bug-during-applyPendingMetadata-header-processor-does-not/m-p/239170&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;The key here is that you are using INDEXED_EXTRACTIONS. Sourcetypes that use INDEXED_EXTRACTIONS need to have their props.conf on the universal forwarder. There is a good explanation as to the "why" here:&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Why-is-the-sourcetype-specified-in-inputs-conf-on-the-universal/td-p/110285?_gl=1*11h7fp1*_gcl_au*MTY2NzExOTYxOS4xNzQxOTY4Mjky*FPAU*MTY2NzExOTYxOS4xNzQxOTY4Mjky*_ga*MTExNTc3MzM4LjE3NDE5NjgyOTM.*_ga_5EPM2P39FV*MTc0MzIxMzIwOC4xNi4xLjE3NDMyMTUwNjUuMC4wLjE1MTQ4MzIwNzM.*_fplc*U01xUU5CVXpnQmdOems5T1I3YTNFQ3RIODdFRnllRmhWUU5JcXd6bmw5bkh4JTJGS2lKcG9jRm1CbnNSSW80bVBuTmdvdVVhS2RZJTJGeWxCWkJOVk5MMGVMWkhKeDJNQlduOHpXUXFNaHZ4aDMlMkJNOWVhNDRsWGxRbHRGeEMydmNnJTNEJTNE" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Why-is-the-sourcetype-specified-in-inputs-conf-on-the-universal/td-p/110285?_gl=1*11h7fp1*_gcl_au*MTY2NzExOTYxOS4xNzQxOTY4Mjky*FPAU*MTY2NzExOTYxOS4xNzQxOTY4Mjky*_ga*MTExNTc3MzM4LjE3NDE5NjgyOTM.*_ga_5EPM2P39FV*MTc0MzIxMzIwOC4xNi4xLjE3NDMyMTUwNjUuMC4wLjE1MTQ4MzIwNzM.*_fplc*U01xUU5CVXpnQmdOems5T1I3YTNFQ3RIODdFRnllRmhWUU5JcXd6bmw5bkh4JTJGS2lKcG9jRm1CbnNSSW80bVBuTmdvdVVhS2RZJTJGeWxCWkJOVk5MMGVMWkhKeDJNQlduOHpXUXFNaHZ4aDMlMkJNOWVhNDRsWGxRbHRGeEMydmNnJTNEJTNE&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;INDEXED_EXTRACTIONS is a somewhat special processor that is usually done on universal forwarders to ingest structured data. This is done in the parsing queue. The slides for the 2015 conf session are here&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://conf.splunk.com/session/2015/conf2015_ABath_JKerai_Splunk_SplunkClassics_HowSplunkdWorks.pdf" target="_blank" rel="noopener"&gt;https://conf.splunk.com/session/2015/conf2015_ABath_JKerai_Splunk_SplunkClassics_HowSplunkdWorks.pdf&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FIELD_DELIMITER = &amp;lt;character&amp;gt;
* Which character delimits or separates fields in the
  specified file or source.
* You can use the delimiters for structured data header extraction with
  this setting.
* This setting supports the use of the special characters described above.
* The default can vary if 'INDEXED_EXTRACTIONS' is set.
* Default (if 'INDEXED_EXTRACTIONS' is not set): not set&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FIELD_NAMES = [ &amp;lt;string&amp;gt;,..., &amp;lt;string&amp;gt;]
* Some CSV and structured files might have missing headers.
* This setting tells Splunk software to specify the header field names directly.
* The default can vary if 'INDEXED_EXTRACTIONS' is set.
* Default (if 'INDEXED_EXTRACTIONS' is not set): not set&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Mar 2025 02:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-I-need-to-use-INDEXED-EXTRACTIONS-when-using-FIELD-DELIMITER/m-p/742987#M118044</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-03-29T02:28:51Z</dc:date>
    </item>
  </channel>
</rss>

