<?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 Get a value from Search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Get-a-value-from-Search/m-p/120279#M32302</link>
    <description>&lt;P&gt;I have a search which is coming with this field-&lt;/P&gt;

&lt;P&gt;timezone=America/Montreal(EDT)offset-14400(Daylight).&lt;/P&gt;

&lt;P&gt;so how can i get only EDT? Any suggestion will be appreciated.  &lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2014 09:26:19 GMT</pubDate>
    <dc:creator>abhi144</dc:creator>
    <dc:date>2014-04-04T09:26:19Z</dc:date>
    <item>
      <title>Get a value from Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-value-from-Search/m-p/120279#M32302</link>
      <description>&lt;P&gt;I have a search which is coming with this field-&lt;/P&gt;

&lt;P&gt;timezone=America/Montreal(EDT)offset-14400(Daylight).&lt;/P&gt;

&lt;P&gt;so how can i get only EDT? Any suggestion will be appreciated.  &lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-value-from-Search/m-p/120279#M32302</guid>
      <dc:creator>abhi144</dc:creator>
      <dc:date>2014-04-04T09:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value from Search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-value-from-Search/m-p/120280#M32303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;something like this should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex field="timezone" "\((?&amp;lt;myTZ&amp;gt;[A-Z]+)\)" | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this will create a new field called &lt;CODE&gt;myTZ&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:35:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-value-from-Search/m-p/120280#M32303</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-04T09:35:53Z</dc:date>
    </item>
  </channel>
</rss>

