<?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: Wildcards in search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68173#M17058</link>
    <description>&lt;P&gt;Lisa's answer is a good approach.  &lt;/P&gt;

&lt;P&gt;Another way to solve this in the search language is to use the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Regex"&gt;regex&lt;/A&gt; command.&lt;BR /&gt;&lt;BR /&gt;
Note, the base search pulls all events BEFORE regex has a chance to filter results, so it is important to make the base search as specific as possible.  An example using above requirements:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=server0* | regex host="server0[3-6]"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 19 Sep 2013 16:49:39 GMT</pubDate>
    <dc:creator>bwooden</dc:creator>
    <dc:date>2013-09-19T16:49:39Z</dc:date>
    <item>
      <title>Wildcards in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68171#M17056</link>
      <description>&lt;P&gt;I need some help on the syntax of wildcards in the search.  I have multiple servers and I don't want to keep using OR.  For example I have "server01" through "server21" and I sometimes want to just pull out results for server3 through server6.&lt;/P&gt;

&lt;P&gt;In Linux I can specify server0[3-6].  What is the Splunk equivalent?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 16:09:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68171#M17056</guid>
      <dc:creator>mdavis43</dc:creator>
      <dc:date>2013-09-19T16:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcards in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68172#M17057</link>
      <description>&lt;P&gt;There is no equivalent in Splunk, sorry.&lt;/P&gt;

&lt;P&gt;However, you can &lt;EM&gt;tag&lt;/EM&gt; your servers. For example, if you tag a set of servers (server03 to server06) as "Singapore" then you could search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag=Singapore
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It's a great way to do a variety of shortcuts for searches. Also, tags can be shared so that everyone on your team can use them.&lt;/P&gt;

&lt;P&gt;Here's a video on tags: &lt;A href="http://www.splunk.com/view/SP-CAAAGYJ"&gt;http://www.splunk.com/view/SP-CAAAGYJ&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;
The documentation is &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/Knowledge/Abouttagsandaliases"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 16:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68172#M17057</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-09-19T16:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcards in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68173#M17058</link>
      <description>&lt;P&gt;Lisa's answer is a good approach.  &lt;/P&gt;

&lt;P&gt;Another way to solve this in the search language is to use the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Regex"&gt;regex&lt;/A&gt; command.&lt;BR /&gt;&lt;BR /&gt;
Note, the base search pulls all events BEFORE regex has a chance to filter results, so it is important to make the base search as specific as possible.  An example using above requirements:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=server0* | regex host="server0[3-6]"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Sep 2013 16:49:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68173#M17058</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2013-09-19T16:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcards in search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68174#M17059</link>
      <description>&lt;P&gt;Good point. I use &lt;CODE&gt;regex&lt;/CODE&gt; a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 17:00:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcards-in-search/m-p/68174#M17059</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-09-19T17:00:02Z</dc:date>
    </item>
  </channel>
</rss>

