<?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: where clause issues/stripping out extraneous characters in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/where-clause-issues-stripping-out-extraneous-characters/m-p/174304#M50017</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval NoPct=rtrim(Use%,"%")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 May 2015 15:45:12 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-05-07T15:45:12Z</dc:date>
    <item>
      <title>where clause issues/stripping out extraneous characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/where-clause-issues-stripping-out-extraneous-characters/m-p/174303#M50016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to do a where clause on a value that includes a % in the result, how can I strip off the percentage character so I can do a numerical where evaluation? &lt;/P&gt;

&lt;P&gt;11:06:44 05/07/2015 good    1048333195  [Linux][Baseline][lrtp23][FileSystem][/boot]    FileSystems\/boot\Use%=47%  7:45845 0   47&lt;/P&gt;

&lt;P&gt;The "Use%" is a field, but the values get the percentage stored with them. &lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 15:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/where-clause-issues-stripping-out-extraneous-characters/m-p/174303#M50016</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2015-05-07T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: where clause issues/stripping out extraneous characters</title>
      <link>https://community.splunk.com/t5/Splunk-Search/where-clause-issues-stripping-out-extraneous-characters/m-p/174304#M50017</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval NoPct=rtrim(Use%,"%")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 May 2015 15:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/where-clause-issues-stripping-out-extraneous-characters/m-p/174304#M50017</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-07T15:45:12Z</dc:date>
    </item>
  </channel>
</rss>

