<?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 trim the values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90357#M23224</link>
    <description>&lt;P&gt;i got right value&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2012 06:33:22 GMT</pubDate>
    <dc:creator>john</dc:creator>
    <dc:date>2012-03-13T06:33:22Z</dc:date>
    <item>
      <title>how to trim the values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90354#M23221</link>
      <description>&lt;P&gt;id=[ci.fif.3000-67777]&lt;BR /&gt;
id=[fg.hki.4000-88888]&lt;/P&gt;

&lt;P&gt;this the content of file i am working with from this i want only the values(3000 and 4000)please help.....&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2012 05:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90354#M23221</guid>
      <dc:creator>john</dc:creator>
      <dc:date>2012-03-13T05:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to trim the values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90355#M23222</link>
      <description>&lt;P&gt;Extract the values as fields in Splunk. Quickest way is to use &lt;CODE&gt;rex&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "\.(?&amp;lt;myvalue&amp;gt;\d+)-\d+\]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This command creates a field &lt;CODE&gt;myfield&lt;/CODE&gt; from your data when you include the command in your search.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2012 06:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90355#M23222</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-03-13T06:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to trim the values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90356#M23223</link>
      <description>&lt;P&gt;Thanks Ayn...&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2012 06:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90356#M23223</guid>
      <dc:creator>john</dc:creator>
      <dc:date>2012-03-13T06:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to trim the values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90357#M23224</link>
      <description>&lt;P&gt;i got right value&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2012 06:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-trim-the-values/m-p/90357#M23224</guid>
      <dc:creator>john</dc:creator>
      <dc:date>2012-03-13T06:33:22Z</dc:date>
    </item>
  </channel>
</rss>

