<?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 see all source and sourcetype list in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129897#M26693</link>
    <description>&lt;P&gt;Why don't you use license_usage.log file to get all the sources and sourcetypes??&lt;/P&gt;

&lt;P&gt;index=_internal source=*license_usage.log&lt;/P&gt;

&lt;P&gt;You will get all the data with s as source st as sourcetype, using this we can get the required information.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:26:43 GMT</pubDate>
    <dc:creator>bharathkumarnec</dc:creator>
    <dc:date>2020-09-29T17:26:43Z</dc:date>
    <item>
      <title>How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129887#M26683</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In splunk UI, I am seeing only top 10 source and sourcetype list.&lt;/P&gt;

&lt;P&gt;But I want to see all of them. Please suggest me on this.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129887#M26683</guid>
      <dc:creator>rameshlpatel</dc:creator>
      <dc:date>2014-01-29T16:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129888#M26684</link>
      <description>&lt;P&gt;to view all sources : index=* |chart count by source&lt;BR /&gt;
to view all sourcetypes: index=* |chart count by sourcetype&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:35:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129888#M26684</guid>
      <dc:creator>tararso</dc:creator>
      <dc:date>2014-01-29T16:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129889#M26685</link>
      <description>&lt;P&gt;For this I have to run one extra queries for finding list of all source.&lt;/P&gt;

&lt;P&gt;there is no any way to get list from existing fired query?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:41:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129889#M26685</guid>
      <dc:creator>rameshlpatel</dc:creator>
      <dc:date>2014-01-29T16:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129890#M26686</link>
      <description>&lt;P&gt;Use following (faster) for source&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=* OR index=_*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;for sourcetypes&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sourcetypes index=* OR index=_*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Jan 2014 22:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129890#M26686</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-29T22:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129891#M26687</link>
      <description>&lt;P&gt;the reason this is inefficient is that you are asking the system to do a full scan of the index and aggregate the count. Your poor indexers have to process every single event .  |metadata is what you want.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2014 23:07:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129891#M26687</guid>
      <dc:creator>mkinsley_splunk</dc:creator>
      <dc:date>2014-01-29T23:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129892#M26688</link>
      <description>&lt;P&gt;I believe the metadata way display's all indexed source[type]'s ever.  This may not be the lightest query, but gives me recent things:&lt;BR /&gt;
" *** | chart count by sourcetype | sort count desc** " in the past hour&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129892#M26688</guid>
      <dc:creator>axelabs</dc:creator>
      <dc:date>2015-09-09T15:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129893#M26689</link>
      <description>&lt;P&gt;I am not an expert but I got indexes, sources and sourtypes as well as a custom "Customer" field with the following query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=* sourcetype=* [| eventcount summarize=false index=* | table index | format "(" "" "" "" "OR" ")"] |
 fillnull value="N/A" Customer 
| stats count by index, source, sourcetype, Customer 
| sort index, source, sourcetype, Customer
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jun 2016 14:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129893#M26689</guid>
      <dc:creator>saadhasankhan</dc:creator>
      <dc:date>2016-06-27T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129894#M26690</link>
      <description>&lt;P&gt;This does not work. You need to you source,field entries. &lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 11:45:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129894#M26690</guid>
      <dc:creator>davidcottrell</dc:creator>
      <dc:date>2017-04-06T11:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129895#M26691</link>
      <description>&lt;P&gt;try this&lt;BR /&gt;
| tstats values(source) where index = * by index&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 11:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129895#M26691</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-06T11:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129896#M26692</link>
      <description>&lt;P&gt;Don't you need "index=*" and not "index="?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129896#M26692</guid>
      <dc:creator>CraigAtNuna</dc:creator>
      <dc:date>2017-12-27T17:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129897#M26693</link>
      <description>&lt;P&gt;Why don't you use license_usage.log file to get all the sources and sourcetypes??&lt;/P&gt;

&lt;P&gt;index=_internal source=*license_usage.log&lt;/P&gt;

&lt;P&gt;You will get all the data with s as source st as sourcetype, using this we can get the required information.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:26:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129897#M26693</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2020-09-29T17:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129898#M26694</link>
      <description>&lt;P&gt;thank you , this query was very helpful. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 19:35:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129898#M26694</guid>
      <dc:creator>joechakkola1</dc:creator>
      <dc:date>2018-11-13T19:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129899#M26695</link>
      <description>&lt;P&gt;I like this search. If you have the OS app loaded on your instance (*nix) it has a bunch of its own sourcetypes that are not interesting, so that's why I exclude its index (os). If you don't, you can remove that last line of the search:&lt;/P&gt;

&lt;P&gt;|rest /services/data/indexes count=0&lt;BR /&gt;
| dedup title | fields title | map  [|metadata type=sourcetypes index="$title$" | eval type="$title$"] maxsearches=1000&lt;BR /&gt;
| stats values(type) AS index, values(totalCount) by sourcetype | sort sourcetype&lt;BR /&gt;
| search NOT index=os&lt;/P&gt;

&lt;P&gt;The output is a column of sourcetypes, with a second column of the index(es) that sourcetype is found in.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 17:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129899#M26695</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2019-03-05T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129900#M26696</link>
      <description>&lt;P&gt;|metadata type=sourcetypes index="index_name"&lt;/P&gt;

&lt;P&gt;|metadata type=source index="index_name"&lt;/P&gt;

&lt;P&gt;This works nicely&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 06:10:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129900#M26696</guid>
      <dc:creator>ujeshmaurya</dc:creator>
      <dc:date>2019-07-03T06:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129901#M26697</link>
      <description>&lt;P&gt;|metadata type=sourcetypes index="index_name"&lt;/P&gt;

&lt;P&gt;|metadata type=source index="index_name"&lt;/P&gt;

&lt;P&gt;This will work for sure. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 06:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129901#M26697</guid>
      <dc:creator>ujeshmaurya</dc:creator>
      <dc:date>2019-07-03T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129902#M26698</link>
      <description>&lt;P&gt;Try to run below btool command and search for your sourcetype&lt;/P&gt;

&lt;P&gt;opt/splunk/bin &amp;gt; &lt;STRONG&gt;./splunk btool inputs list --debug &amp;gt; output.txt&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 11:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129902#M26698</guid>
      <dc:creator>vijayad</dc:creator>
      <dc:date>2019-08-02T11:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129903#M26699</link>
      <description>&lt;P&gt;I am looking for sourcetype for parsing .csv files.&lt;/P&gt;

&lt;P&gt;Source is Azure &lt;STRONG&gt;mscs:storage:blob&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 16:09:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/129903#M26699</guid>
      <dc:creator>sahilverma</dc:creator>
      <dc:date>2020-01-13T16:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to see all source and sourcetype list</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/509867#M86704</link>
      <description>&lt;P&gt;All answers querying for all sources from metadata had the same typo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use :&lt;/P&gt;&lt;P&gt;|metadata type=source&lt;STRONG&gt;&lt;U&gt;s&lt;/U&gt;&lt;/STRONG&gt; index=*&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2020 20:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-see-all-source-and-sourcetype-list/m-p/509867#M86704</guid>
      <dc:creator>xlash911</dc:creator>
      <dc:date>2020-07-18T20:54:37Z</dc:date>
    </item>
  </channel>
</rss>

