<?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: Rename sourcetype for only one app in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29140#M5003</link>
    <description>&lt;P&gt;Haven't done it before, but try putting the following in the &lt;CODE&gt;metadata/local.meta&lt;/CODE&gt; in your app directory:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[props]
export = none
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 13 Aug 2010 02:36:54 GMT</pubDate>
    <dc:creator>ziegfried</dc:creator>
    <dc:date>2010-08-13T02:36:54Z</dc:date>
    <item>
      <title>Rename sourcetype for only one app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29139#M5002</link>
      <description>&lt;P&gt;We are standardizing some sourcetype names and had the idea to provide a "compatibility" app in which users could run searches on the old sourcetypes if needed.  To implement this we setup a rename stanza for our sourcetype in the props.conf file for our compatibility app as suggested in this thread &lt;A href="http://answers.splunk.com/questions/4940/sourcetype-aliasing" rel="nofollow"&gt;http://answers.splunk.com/questions/4940/sourcetype-aliasing&lt;/A&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[new_sourcetype_name]
rename=old_sourcetype_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It seems that even though the rename is specified within an app it is applied globally.  Searches run in the default search app (or other apps we have created) require the use of the renamed sourcetype.&lt;/P&gt;

&lt;P&gt;The hope is that searches in all other apps could be performed on sourcetype=new_sourcetype_name but users could search for sourcetype=old_sourcetype_name via the compatibility app.&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 02:10:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29139#M5002</guid>
      <dc:creator>christopherutz</dc:creator>
      <dc:date>2010-08-13T02:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename sourcetype for only one app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29140#M5003</link>
      <description>&lt;P&gt;Haven't done it before, but try putting the following in the &lt;CODE&gt;metadata/local.meta&lt;/CODE&gt; in your app directory:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[props]
export = none
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Aug 2010 02:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29140#M5003</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2010-08-13T02:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rename sourcetype for only one app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29141#M5004</link>
      <description>&lt;P&gt;This appears to be the solution.  Things are functioning as desired now.  Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 02:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29141#M5004</guid>
      <dc:creator>christopherutz</dc:creator>
      <dc:date>2010-08-13T02:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rename sourcetype for only one app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29142#M5005</link>
      <description>&lt;P&gt;I think you could further refine this so that you are only blocking the sourcetype rename by changing &lt;CODE&gt;[props]&lt;/CODE&gt; to &lt;CODE&gt;[props/new_sourcetype_name/rename]&lt;/CODE&gt;, just FYI.  This would be helpful if you need other &lt;CODE&gt;props.conf&lt;/CODE&gt; settings but simply wanted to block the rename itself.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2010 02:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rename-sourcetype-for-only-one-app/m-p/29142#M5005</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-08-14T02:30:01Z</dc:date>
    </item>
  </channel>
</rss>

