<?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 Index time field extraction for XML data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341451#M101220</link>
    <description>&lt;P&gt;We have a use case where index time extractions for XML data makes a lot of sense yet I do not see an easy way go make it happen. I see that common fomats like csv and json as well supported but nothing for xml. Any ideas? &lt;/P&gt;

&lt;P&gt;I see some creative work around but would prefer something more common.&lt;/P&gt;

&lt;P&gt;The XML events are very very large so search time xmlkv is very slow. We have the indexer resources to support index time extraction.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 19:06:24 GMT</pubDate>
    <dc:creator>ebaileytu</dc:creator>
    <dc:date>2017-11-01T19:06:24Z</dc:date>
    <item>
      <title>Index time field extraction for XML data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341451#M101220</link>
      <description>&lt;P&gt;We have a use case where index time extractions for XML data makes a lot of sense yet I do not see an easy way go make it happen. I see that common fomats like csv and json as well supported but nothing for xml. Any ideas? &lt;/P&gt;

&lt;P&gt;I see some creative work around but would prefer something more common.&lt;/P&gt;

&lt;P&gt;The XML events are very very large so search time xmlkv is very slow. We have the indexer resources to support index time extraction.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:06:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341451#M101220</guid>
      <dc:creator>ebaileytu</dc:creator>
      <dc:date>2017-11-01T19:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction for XML data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341452#M101221</link>
      <description>&lt;P&gt;Did you explore the &lt;CODE&gt;KV_MODE = xml&lt;/CODE&gt; option in props.conf (on search heads) for automatic search-time field extraction? That will eliminate the inline search command of xmlkv.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;KV_MODE = [none|auto|auto_escaped|multi|json|xml]
* Used for search-time field extractions only.
* Specifies the field/value extraction mode for the data.
* Set KV_MODE to one of the following:
  * none: if you want no field/value extraction to take place.
  * auto: extracts field/value pairs separated by equal signs.
  * auto_escaped: extracts fields/value pairs separated by equal signs and
                  honors \" and \\ as escaped sequences within quoted
                  values, e.g field="value with \"nested\" quotes"
  * multi: invokes the multikv search command to expand a tabular event into
           multiple events.
  * xml : automatically extracts fields from XML data.
  * json: automatically extracts fields from JSON data.
* Setting to 'none' can ensure that one or more user-created regexes are not
  overridden by automatic field/value extraction for a particular host,
  source, or source type, and also increases search performance.
* Defaults to auto.
* The 'xml' and 'json' modes will not extract any fields when used on data
  that isn't of the correct format (JSON or XML).
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341452#M101221</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-01T19:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction for XML data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341453#M101222</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;Can you please check answer on below link?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/133533/xml-extraction.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev"&gt;https://answers.splunk.com/answers/133533/xml-extraction.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope it will useful to you.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Happy Splunking&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341453#M101222</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-11-01T19:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction for XML data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341454#M101223</link>
      <description>&lt;P&gt;sure - still produces a ton overhead because it is search time. The events are between 500k and 1 million bytes each.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341454#M101223</guid>
      <dc:creator>ebaileytu</dc:creator>
      <dc:date>2017-11-01T19:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction for XML data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341455#M101224</link>
      <description>&lt;P&gt;This is a search time extraction so same issue as I mentioned above.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341455#M101224</guid>
      <dc:creator>ebaileytu</dc:creator>
      <dc:date>2017-11-01T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction for XML data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341456#M101225</link>
      <description>&lt;P&gt;I would question why you want it done at index time. It rarely makes a performance improvement (In fact more often makes things worse) and takes more disk space.&lt;/P&gt;

&lt;P&gt;But if you are sure you want to try this on your development system use the above linked answer but replace the &lt;CODE&gt;REPORT-xyz&lt;/CODE&gt; in props.conf with &lt;CODE&gt;TRANSFORMS-xyz&lt;/CODE&gt; and add &lt;CODE&gt;WRITE_META = true&lt;/CODE&gt; to the transforms.conf stanza.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 19:41:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-time-field-extraction-for-XML-data/m-p/341456#M101225</guid>
      <dc:creator>bmunson_splunk</dc:creator>
      <dc:date>2018-01-25T19:41:59Z</dc:date>
    </item>
  </channel>
</rss>

