<?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: Listing all tags in the search interface in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53489#M13003</link>
    <description>&lt;P&gt;I think i got a little closer with &lt;BR /&gt;
  |metadata type=hosts | fields host| tags| search tag::host=*| fields - host&lt;/P&gt;

&lt;P&gt;If that is closer, now i need to figure out how to breakup the multiline, dedupe, and make the drill-down work.  I'm hoping there is an easy query i'm missing.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Sep 2010 07:55:36 GMT</pubDate>
    <dc:creator>gfriedmann</dc:creator>
    <dc:date>2010-09-18T07:55:36Z</dc:date>
    <item>
      <title>Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53488#M13002</link>
      <description>&lt;P&gt;I have been tagging hosts to aid in searching by environment, service, sub-service&lt;/P&gt;

&lt;P&gt;I would like to make a dashboard widget that lists all the services for a particular environment. &lt;/P&gt;

&lt;P&gt;Is there a search query i can use to dynamically list all tags in the system or app? &lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2010 07:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53488#M13002</guid>
      <dc:creator>gfriedmann</dc:creator>
      <dc:date>2010-09-18T07:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53489#M13003</link>
      <description>&lt;P&gt;I think i got a little closer with &lt;BR /&gt;
  |metadata type=hosts | fields host| tags| search tag::host=*| fields - host&lt;/P&gt;

&lt;P&gt;If that is closer, now i need to figure out how to breakup the multiline, dedupe, and make the drill-down work.  I'm hoping there is an easy query i'm missing.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2010 07:55:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53489#M13003</guid>
      <dc:creator>gfriedmann</dc:creator>
      <dc:date>2010-09-18T07:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53490#M13004</link>
      <description>&lt;P&gt;This will do it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | tags | mvexpand tag::host | dedup tag::host | fields tag::host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you need to drill down, you should be able to modify the standard dashboard a bit, just to select the right field name(s).&lt;/P&gt;

&lt;P&gt;BTW, and maybe this is too late for you to consider, but I would strongly recommend for this purpose that you consider a lookup table (with a lookup on &lt;CODE&gt;host&lt;/CODE&gt; returning each of your other fields) rather than tags. In some ways, they are much easier to manage, and you will be able to search by, e.g., &lt;CODE&gt;environment=prod service=webserver&lt;/CODE&gt; rather than &lt;CODE&gt;tag::host=env-prod tag::host=serv-webserver&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2010 09:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53490#M13004</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-09-18T09:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53491#M13005</link>
      <description>&lt;P&gt;Are you suggesting the lookup table approach specifically because he's hitting metadata, as opposed to raw results? If searching against actual events, wouldn't there be a (possibly severe) performance penalty?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2010 10:56:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53491#M13005</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-09-18T10:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53492#M13006</link>
      <description>&lt;P&gt;It would be no worse and probably better to use lookup tables than tags.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2010 16:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53492#M13006</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-09-18T16:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53493#M13007</link>
      <description>&lt;P&gt;Thank you. Tags seemed more natural to me and i understand them already. I'll investigate the lookup table. I suspect lookup tables would be cached in RAM for it to be speedy. I can see how exporting "tag" type info from another system would be easier with a lookup table.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 23:04:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/53493#M13007</guid>
      <dc:creator>gfriedmann</dc:creator>
      <dc:date>2010-09-20T23:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Listing all tags in the search interface</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/536943#M151785</link>
      <description>&lt;P&gt;none of the above queries seem to work.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 02:44:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Listing-all-tags-in-the-search-interface/m-p/536943#M151785</guid>
      <dc:creator>dbroggy</dc:creator>
      <dc:date>2021-01-24T02:44:18Z</dc:date>
    </item>
  </channel>
</rss>

