<?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: Is there a way to to further extractions from an existing search time extraction using props.conf or transforms.conf? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-to-further-extractions-from-an-existing-search/m-p/228413#M67530</link>
    <description>&lt;P&gt;Looks like I've just answered my own question.&lt;/P&gt;

&lt;P&gt;The documentation states to use field (for single) or fields (for multiple), but as soon as I removed field and left "SOURCE_KEY = message", it worked as expected perfectly. Now to go deeper and try a JSON parse on one of the extracted fields...&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 21:14:17 GMT</pubDate>
    <dc:creator>splunkto</dc:creator>
    <dc:date>2017-01-12T21:14:17Z</dc:date>
    <item>
      <title>Is there a way to to further extractions from an existing search time extraction using props.conf or transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-to-further-extractions-from-an-existing-search/m-p/228412#M67529</link>
      <description>&lt;P&gt;Currently I'm doing an extraction on a log file like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[AUDIT_PARSE]
REGEX = \x5b[^\x5d]+\x5d\s+(\w+)\s+(?:\x7b([^\x7d]+)\x7d){0,1}\x2d\s+(.*)
FORMAT = level::$1 log_source::$2 message::$3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One of the extracted fields you see is 'message', which itself has a number of key value pairs. I then want to take the extracted 'message', and parse those pairs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[AUDIT_MESSAGE_PARSE]
REGEX = \s*(\S+)\s*\x3a\s*((?:[^\x7c\x5d])+?)\s*(?:\x7c|$)
SOURCE_KEY = field:message
FORMAT = $1::$2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One of those key value extractions has another field I want parsed, so I do another one on that field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[INITIATOR_PARSE]
SOURCE_KEY = field:Initiator
REGEX = ^(.*?)\x2f([^\x40]+)(?:\x40(.+)){0,1}$
FORMAT = SSO_Organization::$1 SSO_User::$2 SSO_Domain::$3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I put them all together with the following in props:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-audit = AUDIT_PARSE, AUDIT_MESSAGE_PARSE, INITIATOR_PARSE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Right now AUDIT_PARSE runs and works, but the remainder does not work. If i remove the SOURCE_KEY it 'runs', but it will run in _raw instead of the pre-extracted field. Is this a splunk limitation where I need to do this at Index time, or am I missing something?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:22:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-to-further-extractions-from-an-existing-search/m-p/228412#M67529</guid>
      <dc:creator>splunkto</dc:creator>
      <dc:date>2020-09-29T12:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to to further extractions from an existing search time extraction using props.conf or transforms.conf?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-to-further-extractions-from-an-existing-search/m-p/228413#M67530</link>
      <description>&lt;P&gt;Looks like I've just answered my own question.&lt;/P&gt;

&lt;P&gt;The documentation states to use field (for single) or fields (for multiple), but as soon as I removed field and left "SOURCE_KEY = message", it worked as expected perfectly. Now to go deeper and try a JSON parse on one of the extracted fields...&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 21:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-to-further-extractions-from-an-existing-search/m-p/228413#M67530</guid>
      <dc:creator>splunkto</dc:creator>
      <dc:date>2017-01-12T21:14:17Z</dc:date>
    </item>
  </channel>
</rss>

