<?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 use the field in search query EXTRACTED using REX command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343910#M101879</link>
    <description>&lt;P&gt;It worked!!!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2017 21:10:24 GMT</pubDate>
    <dc:creator>rangineniarunku</dc:creator>
    <dc:date>2017-09-20T21:10:24Z</dc:date>
    <item>
      <title>How to use the field in search query EXTRACTED using REX command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343908#M101877</link>
      <description>&lt;P&gt;I have a field named "content" with multiple values to it as follows&lt;BR /&gt;
 content=value.deva&lt;BR /&gt;
content=value.devb&lt;BR /&gt;
" =value.devc ......&lt;BR /&gt;
I have written a rex expression in my search query .........| rex field=Name ".(?.*)"      to extract the Environment from the field content . Now I want to get the values in my result only for Environment=deva, how can I use the field Environment in my query?&lt;BR /&gt;
 I tried this way but it did not work ".........| rex field=content ".(?.)" | Environment=deva "&lt;/P&gt;

&lt;P&gt;Can someone help me with this?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 19:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343908#M101877</guid>
      <dc:creator>rangineniarunku</dc:creator>
      <dc:date>2017-09-20T19:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the field in search query EXTRACTED using REX command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343909#M101878</link>
      <description>&lt;P&gt;You are looking for the &lt;CODE&gt;| where&lt;/CODE&gt; command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where Environment="myvalue" 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Sep 2017 19:26:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343909#M101878</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-20T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the field in search query EXTRACTED using REX command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343910#M101879</link>
      <description>&lt;P&gt;It worked!!!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 21:10:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-the-field-in-search-query-EXTRACTED-using-REX-command/m-p/343910#M101879</guid>
      <dc:creator>rangineniarunku</dc:creator>
      <dc:date>2017-09-20T21:10:24Z</dc:date>
    </item>
  </channel>
</rss>

