<?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: How to list all sourcetypes for an app on a Dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223345#M65750</link>
    <description>&lt;P&gt;Thank you for your answer, but thats not quite what I am looking for.&lt;/P&gt;

&lt;P&gt;It should look like the list "source types" in the settings. There have to be a search in the background of that list, &lt;/P&gt;

&lt;P&gt;does anybody know what this search could look like?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2016 13:14:47 GMT</pubDate>
    <dc:creator>dkeck</dc:creator>
    <dc:date>2016-01-12T13:14:47Z</dc:date>
    <item>
      <title>How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223343#M65748</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to build a dashboard and list all the sourcetypes for an app (e.g. search or splunk_TA_nix). In the settings (Splunk 6.3), I can find a list of sourcetypes and the related apps. &lt;/P&gt;

&lt;P&gt;Can somebody tell me what kind of search is this list based on?&lt;/P&gt;

&lt;P&gt;I thought about &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest services/data/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but there are no sourcetypes.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:22:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223343#M65748</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2020-09-29T08:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223344#M65749</link>
      <description>&lt;P&gt;You can use the following query but I don't think you are going to be able to filter by app:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sourcetypes
| table sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can specify the index name and return all the sourcetypes for that particular index, but filtering by app it's a different question. If you name all those sourcetypes within the name with a similar pattern, something like "Foo_MyAppName" then it's very easy to filter by that later on, but otherwise I'm not sure.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 12:22:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223344#M65749</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-12T12:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223345#M65750</link>
      <description>&lt;P&gt;Thank you for your answer, but thats not quite what I am looking for.&lt;/P&gt;

&lt;P&gt;It should look like the list "source types" in the settings. There have to be a search in the background of that list, &lt;/P&gt;

&lt;P&gt;does anybody know what this search could look like?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 13:14:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223345#M65750</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2016-01-12T13:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223346#M65751</link>
      <description>&lt;P&gt;I did manage to get to the following URI by capturing the HTTP traffic from the Settings menu you indicated before:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://localhost:8000/en-GB/splunkd/__raw/services/saved/sourcetypes?output_mode=json&amp;amp;count=1000" target="test_blank"&gt;http://localhost:8000/en-GB/splunkd/__raw/services/saved/sourcetypes?output_mode=json&amp;amp;count=1000&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After that deducing the following query was simple enough:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/saved/sourcetypes
| fields title, "eai:acl.app"
| rename title AS sourcetype, "eai:acl.app" AS app_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 14:17:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223346#M65751</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-12T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223347#M65752</link>
      <description>&lt;P&gt;Please keep in mind that following endpoint returns dozens of fields so you want to take a look at the full output first before filtering out those fields you think you are going to need:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | rest /services/saved/sourcetypes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2016 14:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223347#M65752</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-12T14:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223348#M65753</link>
      <description>&lt;P&gt;Thank you very much. This worked for me.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rest /services/saved/sourcetypes  
|fields title, "eai:acl.app"  
|rename title AS sourcetype, "eai:acl.app" AS app_name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jan 2016 08:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223348#M65753</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2016-01-13T08:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to list all sourcetypes for an app on a Dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223349#M65754</link>
      <description>&lt;P&gt;just what I was looking for, thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 19:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-all-sourcetypes-for-an-app-on-a-Dashboard/m-p/223349#M65754</guid>
      <dc:creator>dbroggy</dc:creator>
      <dc:date>2019-04-05T19:08:31Z</dc:date>
    </item>
  </channel>
</rss>

