<?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 apply rex on a field/variable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-apply-rex-on-a-field-variable/m-p/356755#M105544</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;| rex field=&amp;lt;field&amp;gt; "&amp;lt;regex&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 05 Feb 2018 23:39:24 GMT</pubDate>
    <dc:creator>micahkemp</dc:creator>
    <dc:date>2018-02-05T23:39:24Z</dc:date>
    <item>
      <title>How to apply rex on a field/variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-apply-rex-on-a-field-variable/m-p/356754#M105543</link>
      <description>&lt;P&gt;I have a basic rex question: &lt;/P&gt;

&lt;P&gt;In my splunk query I have:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval foo = ....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and I would like to be able to apply rex on &lt;CODE&gt;foo&lt;/CODE&gt; but I don't seem to able to do so?&lt;/P&gt;

&lt;P&gt;Does anybody know how to apply splunk regex on a variable defined in a query, such a foo above?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 23:29:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-apply-rex-on-a-field-variable/m-p/356754#M105543</guid>
      <dc:creator>viggor</dc:creator>
      <dc:date>2018-02-05T23:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply rex on a field/variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-apply-rex-on-a-field-variable/m-p/356755#M105544</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| rex field=&amp;lt;field&amp;gt; "&amp;lt;regex&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Feb 2018 23:39:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-apply-rex-on-a-field-variable/m-p/356755#M105544</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-05T23:39:24Z</dc:date>
    </item>
  </channel>
</rss>

