<?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 How to delete sourcetypes? Can this be done via CLI? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-sourcetypes-Can-this-be-done-via-CLI/m-p/282121#M53929</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I would like to clean sourcetype list. Can I delete it via CLI? ( I am not talking here removing sourcetype from the index. but rather if you go to add data -&amp;gt;Set source -&amp;gt; Set  Sourcetype. On that list I have a lot of not needed sourcetypes)&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2015 13:53:03 GMT</pubDate>
    <dc:creator>akawacz</dc:creator>
    <dc:date>2015-12-17T13:53:03Z</dc:date>
    <item>
      <title>How to delete sourcetypes? Can this be done via CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-sourcetypes-Can-this-be-done-via-CLI/m-p/282121#M53929</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I would like to clean sourcetype list. Can I delete it via CLI? ( I am not talking here removing sourcetype from the index. but rather if you go to add data -&amp;gt;Set source -&amp;gt; Set  Sourcetype. On that list I have a lot of not needed sourcetypes)&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 13:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-sourcetypes-Can-this-be-done-via-CLI/m-p/282121#M53929</guid>
      <dc:creator>akawacz</dc:creator>
      <dc:date>2015-12-17T13:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete sourcetypes? Can this be done via CLI?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-sourcetypes-Can-this-be-done-via-CLI/m-p/282122#M53930</link>
      <description>&lt;P&gt;You can't  delete the default sourcetypes, but I believe you can hide them from the "set sourcetype" list in Splunk Web. To do this, you'll need to edit (or create) the props.conf file in $SPLUNK_HOME/etc/system/local/props.conf&lt;/P&gt;

&lt;P&gt;You'll need to add each sourcetype stanza ID to the props.conf file, and then configure &lt;CODE&gt;pulldown_type = 0&lt;/CODE&gt; under each stanza.&lt;/P&gt;

&lt;P&gt;For example:&lt;BR /&gt;
    [catalina]&lt;BR /&gt;
    pulldown_type = 0&lt;/P&gt;

&lt;P&gt;You may need to restart Splunk after making the configuration change as well. For a list of all the sourcetype IDs, you can inspect the stanza names in the $SPLUNK_HOME/etc/system/default/props.conf file. &lt;/P&gt;

&lt;P&gt;(Edit: Technically, you &lt;EM&gt;could&lt;/EM&gt; delete the default sourcetypes from the default/props.conf file, but the next time you upgrade Splunk they will just get added back, so I don't recommend it. It could cause other problems as well since Splunk relies on a lot of the default configs)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 18:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-delete-sourcetypes-Can-this-be-done-via-CLI/m-p/282122#M53930</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-12-17T18:12:52Z</dc:date>
    </item>
  </channel>
</rss>

