<?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: regex question in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68079#M17018</link>
    <description>&lt;P&gt;Why do you need to use the IFX, aren't the fields (in simple "key=value" format) not being automatically extracted for you ?&lt;/P&gt;

&lt;P&gt;Why happens if you just search :&lt;/P&gt;

&lt;P&gt;index=yourindex sourcetype=yoursourcetype | table count_r5&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2012 23:49:13 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2012-06-05T23:49:13Z</dc:date>
    <item>
      <title>regex question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68077#M17016</link>
      <description>&lt;P&gt;I'm having problem extracting field below.  I'm trying to extract "count_r5=&lt;XXXX&gt;" but the Interactive Field Exaction is grabing everything in field #7 which has other data I don't want:  (?i)^(?:[^ ]* ){7}(?P&lt;FIELDNAME&gt;[^ ]+)&lt;/FIELDNAME&gt;&lt;/XXXX&gt;&lt;/P&gt;

&lt;P&gt;05/Jun/2012:15:36:00 count_total=2162 count_r1=759 count_r2=755 count_r3=280 count_r4=218 count_r5=150 count_active=448 &lt;/P&gt;

&lt;P&gt;I can do it in the search line:  rex field=_raw \"count_r5=(?&lt;COUNT_R5&gt;.+)\".  How would I go about saving it?&lt;/COUNT_R5&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:54:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68077#M17016</guid>
      <dc:creator>fuster_j</dc:creator>
      <dc:date>2020-09-28T11:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: regex question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68078#M17017</link>
      <description>&lt;P&gt;You should be able to edit what the Field Extractor gives you for regex.  You  can easily replace your regex there.  Or after the fact you'll find that in props.conf.  Look for the EXTRACT of that field name and modify it there.  I think it will put it in SPLUNK_HOME/etc/users/&lt;USERNAME&gt;/&lt;APPNAME&gt;/local/props.conf.&lt;/APPNAME&gt;&lt;/USERNAME&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2012 23:05:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68078#M17017</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-06-05T23:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: regex question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68079#M17018</link>
      <description>&lt;P&gt;Why do you need to use the IFX, aren't the fields (in simple "key=value" format) not being automatically extracted for you ?&lt;/P&gt;

&lt;P&gt;Why happens if you just search :&lt;/P&gt;

&lt;P&gt;index=yourindex sourcetype=yoursourcetype | table count_r5&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2012 23:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-question/m-p/68079#M17018</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-06-05T23:49:13Z</dc:date>
    </item>
  </channel>
</rss>

