<?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: Best way to get a subset of metadata results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60696#M14921</link>
    <description>&lt;P&gt;well that was easy, Thanks. Forgot about using the regex command directly in search.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2013 17:17:33 GMT</pubDate>
    <dc:creator>sonicZ</dc:creator>
    <dc:date>2013-03-14T17:17:33Z</dc:date>
    <item>
      <title>Best way to get a subset of metadata results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60694#M14919</link>
      <description>&lt;P&gt;I am trying to get a truncated list of metadata, and cant seem to get the search recognized.&lt;BR /&gt;
How can i filter certain hosts with a regex pattern against the hostfield returned by a simple metadata search?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; |metadata type=hosts index=main
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've tried subsearches, and using various patterns such as this with no luck. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field=host "(?P&amp;lt;somehost&amp;gt;somepattern)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 00:51:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60694#M14919</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2013-03-14T00:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to get a subset of metadata results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60695#M14920</link>
      <description>&lt;P&gt;Append a regex command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | regex host="somepattern"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Mar 2013 07:46:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60695#M14920</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-14T07:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to get a subset of metadata results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60696#M14921</link>
      <description>&lt;P&gt;well that was easy, Thanks. Forgot about using the regex command directly in search.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 17:17:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Best-way-to-get-a-subset-of-metadata-results/m-p/60696#M14921</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2013-03-14T17:17:33Z</dc:date>
    </item>
  </channel>
</rss>

