<?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: Extract fields at ingest in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Extract-fields-at-ingest/m-p/690672#M11531</link>
    <description>&lt;P&gt;Search-time extractions are preferred over index-time extractions, because they use less storage (none) and don't slow down indexing.&lt;/P&gt;&lt;P&gt;You can extract fields automatically at search time by adding &lt;FONT face="courier new,courier"&gt;EXTRACT&lt;/FONT&gt; settings in the sourcetypes's props.conf stanza.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[xmlwineventlog]
EXTRACT-s_p_n = (server_principal_name:(?&amp;lt;server_principal_name&amp;gt;\S+)) in EventData_Xml 
EXTRACT-s_i_n = (server_instance_name:(?&amp;lt;server_instance_name&amp;gt;\S+)) in EventData_Xml 
EXTRACT-a_i = (action_id:(?&amp;lt;action_id&amp;gt;\S+)) in EventData_Xml 
EXTRACT-succeeded = (succeeded:(?&amp;lt;succeeded&amp;gt;\S+)) in EventData_Xml &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 01:39:16 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-06-14T01:39:16Z</dc:date>
    <item>
      <title>Extract fields at ingest</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extract-fields-at-ingest/m-p/690654#M11530</link>
      <description>&lt;P&gt;I have UFs installed on some sql servers that forward certain events (according to eventID) to my Splunk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a search query to parse out the data need to make a nice table. However, ideally I'd like to do this at ingest time instead of at search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was told by my manager to research props.conf and transforms.conf and here I am &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Not sure if that is the proper route or if there are other suggestions. Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="wineventlog"
| rex field=EventData_Xml (server_principal_name:(?&amp;lt;server_principal_name&amp;gt;\S+))
| rex field=EventData_Xml (server_instance_name:(?&amp;lt;server_instance_name&amp;gt;\S+))
| rex field=EventData_Xml (action_id:(?&amp;lt;action_id&amp;gt;\S+))
| rex field=EventData_Xml (succeeded:(?&amp;lt;succeeded&amp;gt;\S+))
| table _time, action_id, succeeded, server_principal_name, server_instance_name&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Jun 2024 18:21:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extract-fields-at-ingest/m-p/690654#M11530</guid>
      <dc:creator>timtekk</dc:creator>
      <dc:date>2024-06-13T18:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extract fields at ingest</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extract-fields-at-ingest/m-p/690672#M11531</link>
      <description>&lt;P&gt;Search-time extractions are preferred over index-time extractions, because they use less storage (none) and don't slow down indexing.&lt;/P&gt;&lt;P&gt;You can extract fields automatically at search time by adding &lt;FONT face="courier new,courier"&gt;EXTRACT&lt;/FONT&gt; settings in the sourcetypes's props.conf stanza.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[xmlwineventlog]
EXTRACT-s_p_n = (server_principal_name:(?&amp;lt;server_principal_name&amp;gt;\S+)) in EventData_Xml 
EXTRACT-s_i_n = (server_instance_name:(?&amp;lt;server_instance_name&amp;gt;\S+)) in EventData_Xml 
EXTRACT-a_i = (action_id:(?&amp;lt;action_id&amp;gt;\S+)) in EventData_Xml 
EXTRACT-succeeded = (succeeded:(?&amp;lt;succeeded&amp;gt;\S+)) in EventData_Xml &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 01:39:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extract-fields-at-ingest/m-p/690672#M11531</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-06-14T01:39:16Z</dc:date>
    </item>
  </channel>
</rss>

