<?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: Splunk Filtering through regex in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66620#M16581</link>
    <description>&lt;P&gt;i think ideal way might be filtering by specifying range like for cluster1 host="test"|"101-116", cluster2 host="test"|"117-125" not sure how to go about to get this.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2013 18:05:47 GMT</pubDate>
    <dc:creator>machosplunker</dc:creator>
    <dc:date>2013-03-19T18:05:47Z</dc:date>
    <item>
      <title>Splunk Filtering through regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66619#M16580</link>
      <description>&lt;P&gt;I am trying to filtering results based on hosts which are our hbase zookeepers and region servers. There are 3 hbase clusters overall&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Cluster1&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;test101
test102
test103
..
test116
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Cluster2&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;test117
test118
..
test125
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Cluster3&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;test126
..
test138
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;is it possible to filter these three clusters by regex by something like this. This is what i currently have to filter the first cluster it doesn't seem to be working.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="test"|regex_raw="\b0[1]1[0-1]2[0-9]\b"  
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Mar 2013 18:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66619#M16580</guid>
      <dc:creator>machosplunker</dc:creator>
      <dc:date>2013-03-19T18:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Filtering through regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66620#M16581</link>
      <description>&lt;P&gt;i think ideal way might be filtering by specifying range like for cluster1 host="test"|"101-116", cluster2 host="test"|"117-125" not sure how to go about to get this.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 18:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66620#M16581</guid>
      <dc:creator>machosplunker</dc:creator>
      <dc:date>2013-03-19T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Filtering through regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66621#M16582</link>
      <description>&lt;P&gt;I see two alternatives to regex-based filtering: You could either tag your hosts with cluster1, cluster2, and cluster3, or you could have a numeric field from 101 to 138 and filter using arithmetic comparators, ie cluster1 would be hostnumber&amp;gt;=101 AND hostnumber&amp;lt;=116. In fact, you can use the comparison operators with string ordering, but I'm not certain how efficient this would be: host&amp;gt;="test101" AND host&amp;lt;="test116"&lt;/P&gt;

&lt;P&gt;Tagging likely is the most efficient way, and the splunkiest.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 19:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66621#M16582</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-19T19:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Filtering through regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66622#M16583</link>
      <description>&lt;P&gt;that is so sweet!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 20:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Filtering-through-regex/m-p/66622#M16583</guid>
      <dc:creator>machosplunker</dc:creator>
      <dc:date>2013-03-19T20:45:56Z</dc:date>
    </item>
  </channel>
</rss>

