<?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: How to extract a complex field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111378#M29180</link>
    <description>&lt;P&gt;You could use the &lt;STRONG&gt;Interactive Field Extractor&lt;/STRONG&gt; to do this&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Go to the event&lt;/LI&gt;
&lt;LI&gt;Click "Event Actions"&lt;/LI&gt;
&lt;LI&gt;Click  "Extract Fields"&lt;/LI&gt;
&lt;LI&gt;Copy examples of the fields you want from your data into the examples box&lt;/LI&gt;
&lt;LI&gt;Test generated regex, edit as needed. &lt;/LI&gt;
&lt;LI&gt;Save as field extraction&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;See this &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.5/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;guide&lt;/A&gt;  (for 6.1). &lt;/P&gt;

&lt;P&gt;Note this process becomes &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;significantly easier in 6.2.&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2014 17:42:00 GMT</pubDate>
    <dc:creator>aljohnson_splun</dc:creator>
    <dc:date>2014-11-12T17:42:00Z</dc:date>
    <item>
      <title>How to extract a complex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111377#M29179</link>
      <description>&lt;P&gt;I have a log that has the following:&lt;BR /&gt;
Blah blah bloh HandleBusInfoMessage=31951592=460892.509; nextcommand Blah HandleSomethingElse=31951592=460892.509 Blah ...&lt;/P&gt;

&lt;P&gt;I want to extract the following:&lt;BR /&gt;
HandleBusInfoMessageCount=31951592&lt;BR /&gt;
HandleBusInfoMessageTime=460892.509&lt;/P&gt;

&lt;P&gt;HandleSomethingElseCount=31951592&lt;BR /&gt;
HandleSomethingElseTime=460892.509&lt;/P&gt;

&lt;P&gt;The command name (Handle*) can be variable.&lt;BR /&gt;
Thanks for the help in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111377#M29179</guid>
      <dc:creator>mfscully</dc:creator>
      <dc:date>2014-11-12T17:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a complex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111378#M29180</link>
      <description>&lt;P&gt;You could use the &lt;STRONG&gt;Interactive Field Extractor&lt;/STRONG&gt; to do this&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Go to the event&lt;/LI&gt;
&lt;LI&gt;Click "Event Actions"&lt;/LI&gt;
&lt;LI&gt;Click  "Extract Fields"&lt;/LI&gt;
&lt;LI&gt;Copy examples of the fields you want from your data into the examples box&lt;/LI&gt;
&lt;LI&gt;Test generated regex, edit as needed. &lt;/LI&gt;
&lt;LI&gt;Save as field extraction&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;See this &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.5/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;guide&lt;/A&gt;  (for 6.1). &lt;/P&gt;

&lt;P&gt;Note this process becomes &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;significantly easier in 6.2.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:42:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111378#M29180</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2014-11-12T17:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a complex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111379#M29181</link>
      <description>&lt;P&gt;One thing I need to add is that the command name (Handle*) can be variable so I would need to rex it I would assume. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:04:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111379#M29181</guid>
      <dc:creator>mfscully</dc:creator>
      <dc:date>2014-11-12T18:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a complex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111380#M29182</link>
      <description>&lt;P&gt;One thing I need to add is that the command name (Handle*) can be variable so I would need to rex it I would assume. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111380#M29182</guid>
      <dc:creator>mfscully</dc:creator>
      <dc:date>2014-11-12T18:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract a complex field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111381#M29183</link>
      <description>&lt;P&gt;After you use the field extractor, you can edit the regex that is generated so that it can accommodate any of the values that might be seen. e.g. &lt;CODE&gt;[\w\d_+]&lt;/CODE&gt; instead of where it might have generated "Handle". Then you can retest the extraction, and repeat until its perfect.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 18:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-a-complex-field/m-p/111381#M29183</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2014-11-12T18:30:46Z</dc:date>
    </item>
  </channel>
</rss>

