<?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: XML Extraction -issues with field extractions using props configuration file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609638#M211985</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your quick response.&lt;/P&gt;&lt;P&gt;Regarding headers, every XML source file has a one header like "&amp;lt;xml version=1.0 encoding="ISO-88X-1&amp;gt;". This comes as an event in my extraction. My other issue field extraction, it's not extracting any Key/Value pairs.&lt;/P&gt;&lt;P&gt;Sample Event Like:&lt;/P&gt;&lt;P&gt;&amp;lt;xml version=1.0 encoding="ISO-88X-1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DSMODEL&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TIMESTAMP&amp;gt; .......&amp;lt;/TIMESTAMP&amp;gt;&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;&amp;lt;/DSMODEL&amp;gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 13:22:43 GMT</pubDate>
    <dc:creator>SplunkDash</dc:creator>
    <dc:date>2022-08-16T13:22:43Z</dc:date>
    <item>
      <title>XML Extraction -issues with field extractions using props configuration file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609572#M211955</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;When I extract fields from the structured XML files using props.conf,&amp;nbsp; it is not extracted any key/value pairs and also headers info come as an event, how I would eliminate headers info&amp;nbsp; so it&amp;nbsp; won't show up as an event and&amp;nbsp; is there anything I am missing because of that&amp;nbsp; it's not extracting any key/value pairs .&lt;/P&gt;
&lt;P&gt;I used&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[sourcename]
BREAK_ONLY_BEFORE=&amp;lt;DSMODEL&amp;gt;
CHARSET=UTF-8
KV_MODE=xml
LINE_BREAKER=([\r\n]*)&amp;lt;DSMODEL&amp;gt;
MAX_TIMESTAMP_LOOKAHEAD=24
MUST_BREAK_AFTER=\/DSMODEL&amp;gt;
NO_BINARY_CHECK=true
SHOULD_LINEMERGE=false
TIME_FORMAT=%Y%m%d%H%M%S
TIME_PREFIX=&amp;lt;TIMESTAMP&amp;gt;
TRUNCATE=2500
category=Custom
disabled=false
pulldown_type=true
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help will be highly appreciated. Thank you so much.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:08:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609572#M211955</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-08-16T13:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: XML Extraction -issues with field extractions using props configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609636#M211984</link>
      <description>&lt;P&gt;I've never heard of XML headers.&amp;nbsp; Please share some (sanitized) sample data so we can see what we need to process.&lt;/P&gt;&lt;P&gt;Also:&lt;/P&gt;&lt;P&gt;Don't use both BREAK_ONLY_BEFORE, MUST_BREAK_AFTER, and LINE_BREAKER together.&amp;nbsp; Try to stick with LINE_BREAKER.&lt;/P&gt;&lt;P&gt;The value of TIME_PREFIX must be a valid regular expression.&amp;nbsp; Test it at regex101.com.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 12:36:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609636#M211984</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-16T12:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: XML Extraction -issues with field extractions using props configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609638#M211985</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your quick response.&lt;/P&gt;&lt;P&gt;Regarding headers, every XML source file has a one header like "&amp;lt;xml version=1.0 encoding="ISO-88X-1&amp;gt;". This comes as an event in my extraction. My other issue field extraction, it's not extracting any Key/Value pairs.&lt;/P&gt;&lt;P&gt;Sample Event Like:&lt;/P&gt;&lt;P&gt;&amp;lt;xml version=1.0 encoding="ISO-88X-1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DSMODEL&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TIMESTAMP&amp;gt; .......&amp;lt;/TIMESTAMP&amp;gt;&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;&amp;lt;/DSMODEL&amp;gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609638#M211985</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-08-16T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: XML Extraction -issues with field extractions using props configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609647#M211987</link>
      <description>&lt;P&gt;Thanks for the clarification.&lt;/P&gt;&lt;P&gt;It appears that breaking before &amp;lt;DSMODEL&amp;gt; and after &amp;lt;/DSMODEL&amp;gt; leaves the header between events so it becomes its own event.&amp;nbsp; If you use only LINE_BREAKER to break events then the header will become part of another event instead of on its own.&lt;/P&gt;&lt;P&gt;How many DSMODEL elements are in each XML?&amp;nbsp; If there's only one then breaking at the header should be enough.&lt;/P&gt;&lt;P&gt;I'm not sure why you're not getting any fields extracted.&amp;nbsp; Perhaps the XML is not well formatted.&amp;nbsp; Have you tried using the &lt;FONT face="courier new,courier"&gt;xmlkv&lt;/FONT&gt; command?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609647#M211987</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-16T14:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: XML Extraction -issues with field extractions using props configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609653#M211988</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your quick response. Regarding Key/Value pairs, I tested in my own local SPLUNK platform, getting Key/Value pairs&amp;nbsp; using exactly the same props.conf file. But when I implement it in Client environment not have any Key/Value pairs.&amp;nbsp; It has 5 &amp;lt;DSMODEL&amp;gt; in each XML file.&amp;nbsp; Should I use INDEXED_EXTRACTIONS=xml? Thank you again!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:28:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609653#M211988</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-08-16T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: XML Extraction -issues with field extractions using props configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609670#M211994</link>
      <description>&lt;P&gt;Using &lt;FONT face="courier new,courier"&gt;INDEXED_EXTRACTIONS=xml&lt;/FONT&gt; will increase the storage costs and slow down indexing.&amp;nbsp; It shouldn't make a difference.&lt;/P&gt;&lt;P&gt;That it works in your test environment, but not in production means we need to look at the differences between test and prod.&amp;nbsp; Have you run &lt;FONT face="courier new,courier"&gt;btool&lt;/FONT&gt; in prod to see what settings are there for the sourcetype?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 15:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/609670#M211994</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-16T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: XML Extraction -issues with field extractions using props configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/757413#M243185</link>
      <description>&lt;P&gt;xml is not supported for&amp;nbsp;&lt;SPAN&gt;INDEXED_EXTRACTIONS. Supported types are&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="pre specfile"&gt;INDEXED_EXTRACTIONS = &amp;lt;CSV|TSV|PSV|W3C|JSON|HEC&amp;gt;
* The type of file that Splunk software should expect for a given source
type, and the extraction and/or parsing method that should be used on the
file.
* The following values are valid for 'INDEXED_EXTRACTIONS':
CSV - Comma separated value format
TSV - Tab-separated value format
PSV - pipe ("|")-separated value format
W3C - World Wide Web Consortium (W3C) Extended Log File Format
JSON - JavaScript Object Notation format
HEC - Interpret file as a stream of JSON events in the same format as the
HTTP Event Collector (HEC) input.&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jan 2026 23:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/XML-Extraction-issues-with-field-extractions-using-props/m-p/757413#M243185</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2026-01-18T23:25:59Z</dc:date>
    </item>
  </channel>
</rss>

