<?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 Why does metadata command returns only one sourcetype? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499419#M85120</link>
    <description>&lt;P&gt;We've got over 50 sourcetypes, however, when I run the command below, I only see syslog under the sourcetype column. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sourcetypes | sort - totalCount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anyone have an explanation? &lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2019 21:17:08 GMT</pubDate>
    <dc:creator>dillardo_2</dc:creator>
    <dc:date>2019-10-08T21:17:08Z</dc:date>
    <item>
      <title>Why does metadata command returns only one sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499419#M85120</link>
      <description>&lt;P&gt;We've got over 50 sourcetypes, however, when I run the command below, I only see syslog under the sourcetype column. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sourcetypes | sort - totalCount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anyone have an explanation? &lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 21:17:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499419#M85120</guid>
      <dc:creator>dillardo_2</dc:creator>
      <dc:date>2019-10-08T21:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why does metadata command returns only one sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499420#M85121</link>
      <description>&lt;P&gt;It's only looking at your default index(es).  Try &lt;CODE&gt;| metadata type=sourcetypes idnex=* | sort - totalCount&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 21:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499420#M85121</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-08T21:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does metadata command returns only one sourcetype?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499421#M85122</link>
      <description>&lt;P&gt;Thanks @richgalloway, this did the trick!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 15:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-metadata-command-returns-only-one-sourcetype/m-p/499421#M85122</guid>
      <dc:creator>dillardo_2</dc:creator>
      <dc:date>2019-10-09T15:38:04Z</dc:date>
    </item>
  </channel>
</rss>

