<?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 Field extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480877#M134745</link>
    <description>&lt;P&gt;gauge="ProcessorResponse.Country[US]Processor[ApgProcessor]PaymentType[VISA] DECLINE" is one of the field.&lt;BR /&gt;
I am trying to get Country, Processor, PaymentType and reason fields.&lt;/P&gt;

&lt;P&gt;my search&lt;BR /&gt;
| rex "Country[(?[^]]+)]Processor[(?[^]]+)]PaymentType[(?[^]]+)] (?[^"]+)" &lt;/P&gt;

&lt;P&gt;I am using this but its not working, can someone help please.&lt;/P&gt;

&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 19:29:35 GMT</pubDate>
    <dc:creator>sandeepmakkena</dc:creator>
    <dc:date>2019-09-13T19:29:35Z</dc:date>
    <item>
      <title>Field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480877#M134745</link>
      <description>&lt;P&gt;gauge="ProcessorResponse.Country[US]Processor[ApgProcessor]PaymentType[VISA] DECLINE" is one of the field.&lt;BR /&gt;
I am trying to get Country, Processor, PaymentType and reason fields.&lt;/P&gt;

&lt;P&gt;my search&lt;BR /&gt;
| rex "Country[(?[^]]+)]Processor[(?[^]]+)]PaymentType[(?[^]]+)] (?[^"]+)" &lt;/P&gt;

&lt;P&gt;I am using this but its not working, can someone help please.&lt;/P&gt;

&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 19:29:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480877#M134745</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-09-13T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480878#M134746</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1
| eval gauge="\"ProcessorResponse.Country[US]Processor[ApgProcessor]PaymentType[VISA] DECLINE\""
| rex field=gauge "\.Country\[(?&amp;lt;country&amp;gt;[^\]]+)\]Processor\[(?&amp;lt;processor&amp;gt;[^\]]+)\]PaymentType\[(?&amp;lt;payment_type&amp;gt;[^\]]+)\]\s+(?&amp;lt;result&amp;gt;[^\"]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 02:24:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480878#M134746</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-09-14T02:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480879#M134747</link>
      <description>&lt;P&gt;Hi dyude @sandeepmakkena ,&lt;/P&gt;

&lt;P&gt;You can try this ,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=your index
|rex field=gauge "ProcessorResponse\.Country\[(?P&amp;lt;Country&amp;gt;.+)\]Processor\[(?P&amp;lt;Processor&amp;gt;.+)\]PaymentType\[(?P&amp;lt;PaymentType&amp;gt;.+)\]\s(?P&amp;lt;reason&amp;gt;\w+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Sep 2019 19:31:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480879#M134747</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-09-14T19:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480880#M134748</link>
      <description>&lt;P&gt;Thank you. &lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 17:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction/m-p/480880#M134748</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-09-15T17:17:37Z</dc:date>
    </item>
  </channel>
</rss>

