<?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: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424538#M74464</link>
    <description>&lt;P&gt;check Palo Alto TA (props.conf) for detailed description on how to solve your problem. so your example would look something like this below. &lt;/P&gt;

&lt;P&gt;[my:application]&lt;BR /&gt;
 # all common extractions here&lt;/P&gt;

&lt;H1&gt;TRANSFORMS-sourcetype =my:application:audit,my:application:transaction&lt;/H1&gt;

&lt;P&gt;[my:application:audit]&lt;BR /&gt;
 # some very specific extractions for audit only&lt;/P&gt;

&lt;P&gt;[my:application:transaction]&lt;BR /&gt;
 # some very specific extractions for txns&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 15:04:11 GMT</pubDate>
    <dc:creator>yahuja_splunk</dc:creator>
    <dc:date>2018-08-23T15:04:11Z</dc:date>
    <item>
      <title>Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424536#M74462</link>
      <description>&lt;P&gt;Hope you all have faced this situation.. We got incoming mixed data from a single source  (eg  source=my_application.log) . This currently is parsed at arrival as &lt;CODE&gt;sourcetype=my:application&lt;/CODE&gt; . But this contains valuable information of &lt;CODE&gt;application:audit&lt;/CODE&gt; and &lt;CODE&gt;application:transactions&lt;/CODE&gt; for example.&lt;/P&gt;

&lt;P&gt;Most of the search-time extractions are similar for audit &amp;amp; transactions.  But currently I have to copy all of the logic on each sourcetype which is pure duplication of code.&lt;/P&gt;

&lt;P&gt;Any ideas/tricks to ensure the search-time extractions done on parent-sourcetype can be inherited to child sourcetypes?&lt;BR /&gt;
Expecting something like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my:application]
# all common extractions here

## Hope to inherit all work done in above sourcetype
 [my:application:audit]
# some very specific extractions for audit only

 [my:application:transaction]
# some very specific extractions for txns
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Aug 2018 08:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424536#M74462</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2018-08-23T08:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424537#M74463</link>
      <description>&lt;P&gt;You can rename sourcetypes as per: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Data/Renamesourcetypes"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Data/Renamesourcetypes&lt;/A&gt;. &lt;BR /&gt;
I usually approach this using a transforms to set sourcetype at ingest, though not positive that would be of most use to you. Is it possible to post sample events scrubbed of course:))?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 14:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424537#M74463</guid>
      <dc:creator>sshelly_splunk</dc:creator>
      <dc:date>2018-08-23T14:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424538#M74464</link>
      <description>&lt;P&gt;check Palo Alto TA (props.conf) for detailed description on how to solve your problem. so your example would look something like this below. &lt;/P&gt;

&lt;P&gt;[my:application]&lt;BR /&gt;
 # all common extractions here&lt;/P&gt;

&lt;H1&gt;TRANSFORMS-sourcetype =my:application:audit,my:application:transaction&lt;/H1&gt;

&lt;P&gt;[my:application:audit]&lt;BR /&gt;
 # some very specific extractions for audit only&lt;/P&gt;

&lt;P&gt;[my:application:transaction]&lt;BR /&gt;
 # some very specific extractions for txns&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 15:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424538#M74464</guid>
      <dc:creator>yahuja_splunk</dc:creator>
      <dc:date>2018-08-23T15:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424539#M74465</link>
      <description>&lt;P&gt;hi, this didn't do for me. &lt;BR /&gt;
Since Transformations happen at indextime, how can Search Head (where search-time extractions) know to apply the search-time extractions for another sourcetype?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 20:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424539#M74465</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2018-08-24T20:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424540#M74466</link>
      <description>&lt;P&gt;I liked this idea. I feel its bit childish as per the document, but a new way. thanks for that. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 20:56:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424540#M74466</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2018-08-24T20:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424541#M74467</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;have you tried to copy your props.conf on both systems (index and search head)?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 10:29:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424541#M74467</guid>
      <dc:creator>DimasSouza</dc:creator>
      <dc:date>2020-03-05T10:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sourcetype Inheritance: How to inherit parent sourcetype to child sourcetypes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424542#M74468</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Transformation works also on search time, but you must have those definitions on search head layers (just like fields.conf).&lt;/P&gt;

&lt;P&gt;T. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 17:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sourcetype-Inheritance-How-to-inherit-parent-sourcetype-to-child/m-p/424542#M74468</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-03-05T17:09:32Z</dc:date>
    </item>
  </channel>
</rss>

