<?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: Rex Not Extracting All Data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285918#M86517</link>
    <description>&lt;P&gt;the double quotes are escaped within the _raw of all the events? In that case try escaping the slashes as well:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; rex field=_raw "\\\"firstName\\\":\\\"(?&amp;lt;cidFName&amp;gt;[^\"]+)" 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Oct 2015 13:08:30 GMT</pubDate>
    <dc:creator>muebel</dc:creator>
    <dc:date>2015-10-21T13:08:30Z</dc:date>
    <item>
      <title>Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285906#M86505</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I wonder whether someone could help me please.&lt;/P&gt;

&lt;P&gt;I'm trying to extract the first name from the data as shown below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [{"name":{"current":{"firstName":"M","lastName":"SMITH"}},"ids":{"nino":"AA111111A"},"dateOfBirth":"26121973"}] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I've put together the following rex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field="detail.output-cid-response" "\"firstName\":\"(?&amp;lt;cidFName&amp;gt;[^\"]+)" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem I have is that although there is data there, it is not extracting the "cidFName" for all the records and to be honest I'm at a loss why.&lt;/P&gt;

&lt;P&gt;Could someone perhaps shed some light on where I'm going wrong please.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 10:12:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285906#M86505</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T10:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285907#M86506</link>
      <description>&lt;P&gt;try this....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\"firstName\":\"(?&amp;lt;cidFName&amp;gt;[\w]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 10:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285907#M86506</guid>
      <dc:creator>krish3</dc:creator>
      <dc:date>2015-10-21T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285908#M86507</link>
      <description>&lt;P&gt;Hi @krish3, thank you for taking the time to reply to my post,&lt;/P&gt;

&lt;P&gt;I've tried the query you kindly provided, but unfortunately this hasn't made any difference.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 10:34:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285908#M86507</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T10:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285909#M86508</link>
      <description>&lt;P&gt;Can you please share what is the value of field &lt;CODE&gt;detail.output-cid-response&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 11:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285909#M86508</guid>
      <dc:creator>krish3</dc:creator>
      <dc:date>2015-10-21T11:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285910#M86509</link>
      <description>&lt;P&gt;Hi @krish3, my apologies for not making this clear but detail,.output-cid-response is the raw data shown in my initial post i.e.  &lt;CODE&gt;[{"name":{"current":{"firstName":"CHRIS","lastName":"SMITH"}},"ids":{"nino":"AA111111A"},"dateOfBirth":"26121973"}]&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 11:23:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285910#M86509</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T11:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285911#M86510</link>
      <description>&lt;P&gt;If any event has two names on this field, better you use this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firstName\":\"(?P&amp;lt;cidFname&amp;gt;.*?)\"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firstName\":\"(?P&amp;lt;cidFname&amp;gt;[\w\s]+)\"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 11:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285911#M86510</guid>
      <dc:creator>renatobamorim</dc:creator>
      <dc:date>2015-10-21T11:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285912#M86511</link>
      <description>&lt;P&gt;Hi @renatobamorim, thank you for taking the time to come back to me with this.&lt;/P&gt;

&lt;P&gt;I must admit I wasn't quite sure what to do with the query you kindly sent but using the snippet as the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field="detail.output-cid-response" ""firstName":"(?.*?)"" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I receive &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;a Error in 'rex' command: Encountered&lt;BR /&gt;
the following error while compiling&lt;BR /&gt;
the regex 'firstName:(?.*?)': Regex:&lt;BR /&gt;
unrecognized character after (? or (?-&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I've had to include the double " otherwise I receive an unbalanced quotes error message.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 12:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285912#M86511</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T12:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285913#M86512</link>
      <description>&lt;P&gt;Can you post few more lines of your logs I do not see any issues with the regex pattern....&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.rubular.com/"&gt;Check your regex here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 12:22:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285913#M86512</guid>
      <dc:creator>krish3</dc:creator>
      <dc:date>2015-10-21T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285914#M86513</link>
      <description>&lt;P&gt;Hi please find a little more of my log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"output-cid-response":"[{\"name\":{\"current\":{\"firstName\":\"ESTELLE\",\"lastName\":\"CRICHTON\"}},\"ids\":{\"sautr\":\"2354290204\",\"nino\":\"ZA631419C\"},\"dateOfBirth\":\"04111923\"}]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also don't see a problem with Regex, because I've been using Regex101 to check this.&lt;/P&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 12:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285914#M86513</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285915#M86514</link>
      <description>&lt;P&gt;Hi  IRHM73, That either means that the regex isn't valid for all values of the "detail.output-cid-response" field, or that the "detail.output-cid-response" field doesn't exist for all events.&lt;/P&gt;

&lt;P&gt;I would run the regex over _raw, which is the default value for the rex command.&lt;/P&gt;

&lt;P&gt;So, in that way, try running &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex "\"firstName\":\"(?&amp;lt;cidFName&amp;gt;[^\"]+)" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that doesn't pull all the cidFName fields as you would expect, post the _raw for the events where the field isn't extracting properly.&lt;/P&gt;

&lt;P&gt;Please let me know how this works! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 12:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285915#M86514</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2015-10-21T12:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285916#M86515</link>
      <description>&lt;P&gt;Hi @muebel, thank you for taking the time to reply to my post.&lt;/P&gt;

&lt;P&gt;I tried the query you kindly sent but found I had to put 'rex field....' in front.&lt;/P&gt;

&lt;P&gt;But unfortunately the details on some of the records are missing inc the one shown as the raw data log below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"auditSource":"matching","auditType":"TxSucceeded","eventId":"cc642788","tags":{"X-Request-ID":"uke83d","transactionName":"Search"},"detail":{"output-cid-response":"[{\"name\":{\"current\":{\"firstName\":\"JOHN\",\"lastName\":\"SMITH\"}},\"ids\":{\"nino\":\"AA111111A\"},\"dateOfBirth\":\"26121973\"}]","output-cycle":"CYCLE3","output-matching-time-in-millis":"120","input-searchRequest":"IncomingSearchRequest(Some(AA111111A),Some(John),Some(Smith),Some(1973-12-26))","output-errors":"[]","output-result":"match found","input-nino":"AA111111A"},"generatedAt":"2015-10-20T20:04:14.728Z"}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can confirm that the detail.output-cid-response is present in all records and as far as I can see they are exactly the same with differeing usernames, nino's etc.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 12:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285916#M86515</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285917#M86516</link>
      <description>&lt;P&gt;try use rex field=_raw&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 12:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285917#M86516</guid>
      <dc:creator>renatobamorim</dc:creator>
      <dc:date>2015-10-21T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285918#M86517</link>
      <description>&lt;P&gt;the double quotes are escaped within the _raw of all the events? In that case try escaping the slashes as well:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; rex field=_raw "\\\"firstName\\\":\\\"(?&amp;lt;cidFName&amp;gt;[^\"]+)" 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285918#M86517</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2015-10-21T13:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285919#M86518</link>
      <description>&lt;P&gt;Hi thank you for clarifying on how to use the querys.&lt;/P&gt;

&lt;P&gt;Unfortunately there was no change using &lt;CODE&gt;firstName\":\"(?P.*?)\"&lt;/CODE&gt;and &lt;CODE&gt;firstName\":\"(?P[\w\s]+)\""&lt;/CODE&gt;  didn't extract any information.&lt;/P&gt;

&lt;P&gt;I then tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firstName\":\"(?P&amp;lt;cidFname&amp;gt;.*?)\"
firstName\":\"(?P&amp;lt;cidFname&amp;gt;[\w\s]+)\"
\"firstName\":\"(?&amp;lt;cidFName&amp;gt;[^\"]+)" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;All with the rex=field raw, and unfortunately these did not extract any of the information.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285919#M86518</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T13:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285920#M86519</link>
      <description>&lt;P&gt;Hi  I really appreciate you coming back to me with this.&lt;/P&gt;

&lt;P&gt;In answer to your question, all the raw events the double quotes are escaped.&lt;/P&gt;

&lt;P&gt;I tried the query you provided, but unfortunately I receive the following error:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Error in 'SearchParser': Missing a&lt;BR /&gt;
search command before '^'. Error at&lt;BR /&gt;
position '470' of search query 'search&lt;BR /&gt;
index=main auditSource="matching"&lt;BR /&gt;
auditType...{snipped} {errorcontext =&lt;BR /&gt;
Name":"(?[^"]+)" | e}'.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:19:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285920#M86519</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T13:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285921#M86520</link>
      <description>&lt;P&gt;Can you try this one?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field="detail.output-cid-response" "firstName\\\":\\\"(?&amp;lt;cidFName&amp;gt;[^\\]+)\\"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285921#M86520</guid>
      <dc:creator>wpreston</dc:creator>
      <dc:date>2015-10-21T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285922#M86521</link>
      <description>&lt;P&gt;Hi @wpreston, thank you for this.&lt;/P&gt;

&lt;P&gt;Unfortunately when I run this I recieve this error:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Error in 'rex' command: Encountered&lt;BR /&gt;
the following error while compiling&lt;BR /&gt;
the regex&lt;BR /&gt;
'firstName\":\"(?[^]+)\':&lt;BR /&gt;
Regex: \ at end of pattern&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:40:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285922#M86521</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-21T13:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285923#M86522</link>
      <description>&lt;P&gt;Hmm, ok how about this one?  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field=detail.output-cid-response "firstName.\":.\"(?&amp;lt;NewField&amp;gt;.+)[\\\]\","
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285923#M86522</guid>
      <dc:creator>wpreston</dc:creator>
      <dc:date>2015-10-21T14:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285924#M86523</link>
      <description>&lt;P&gt;I indexed your sample data and was able to use the following regex to extract "JOHN" as the "firstName" field.  One rex extracted from the &lt;CODE&gt;_raw&lt;/CODE&gt; field as a source, and the other extracted from the &lt;CODE&gt;detail.output-cid-response&lt;/CODE&gt; field as a source.  Please see if either fits your needs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=_raw "firstName[\\\]\":[\\\]\"(?&amp;lt;firstNameRaw&amp;gt;[^\\\]+)[\\\]"

| rex field="detail.output-cid-response" "firstName\":\"(?&amp;lt;firstName&amp;gt;[^\"]+)\""
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:10:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285924#M86523</guid>
      <dc:creator>wpreston</dc:creator>
      <dc:date>2015-10-21T15:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Not Extracting All Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285925#M86524</link>
      <description>&lt;P&gt;Eureka!!!!&lt;/P&gt;

&lt;P&gt;@Wpreston, thank you for coming back to me with this it is greatly appreciated. I've tried the queries you kindly provided and this one worked: &lt;CODE&gt;| rex field=_raw "firstName[\\\]\":[\\\]\"(?[^\\\]+)[\\\]"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So that I can learn from this, could I ask please what the '[' and ']' do?&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 06:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Not-Extracting-All-Data/m-p/285925#M86524</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2015-10-22T06:12:30Z</dc:date>
    </item>
  </channel>
</rss>

