<?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: what is the difference between override source type from forwarder and from indexer??? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415998#M6128</link>
    <description>&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;some stanza&amp;gt;]
TRANSFORMS-change_sourcetype = change_sourcetype_tr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[change_sourcetype_tr]
REGEX = &amp;lt;regex to identify events for which you want to change sourcetype for&amp;gt;
DEST_KEY = MetaData:Sourcetype
FORMAT = sourcetype::&amp;lt;new sourcetype you want to assign&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 09 Jun 2019 14:18:37 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2019-06-09T14:18:37Z</dc:date>
    <item>
      <title>what is the difference between override source type from forwarder and from indexer???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415995#M6125</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
i'm new to splunk , i just wounder what is the difference between  override source type/index from forwarder and from indexer???&lt;BR /&gt;
and also if i choose to override sourcetype of files in universal forwarder  , should i create a sourcetype and regex in transforms.conf on Search head with the new name that i specified in Universal Forwarder inputs.conf file to extract fields???&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 13:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415995#M6125</guid>
      <dc:creator>ahmedragy922</dc:creator>
      <dc:date>2019-06-08T13:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between override source type from forwarder and from indexer???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415996#M6126</link>
      <description>&lt;P&gt;@ahmedragy922,&lt;/P&gt;

&lt;P&gt;There are three ways some ways you can attach sourcetype to your event. you should not worry about its difference as for user when you search the data there its just one sourcetype statically attached to your event + props/transforms regarding sourcetype will not apply on universal forwarder it will apply on Indexer.&lt;/P&gt;

&lt;P&gt;If you write  &lt;CODE&gt;sourcetype in inputs.conf&lt;/CODE&gt; that will be applied from universal forwarder. Then data come to Indexer (it is called parsing phase but, if you use heavy forwarder parsing phase will be on Heavy Forwarder. Universal forwarder cannot perform parsing phase), there you can override that value with  &lt;CODE&gt;sourcetype parameter in props.conf&lt;/CODE&gt; or you can also override its value with  &lt;CODE&gt;Meta field from transforms.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;I hope this gives you the understanding that you need about sourcetype.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2019 06:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415996#M6126</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-09T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between override source type from forwarder and from indexer???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415997#M6127</link>
      <description>&lt;P&gt;thank you for your reply , but if i want to dynamically identify the sourcetype of data the are coming to indexer from forwarder  , in this case i need to modify props.conf in indexer (parsing  phase) to create regex matching the data and gives it a sourcetype ???&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2019 11:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415997#M6127</guid>
      <dc:creator>ahmedragy922</dc:creator>
      <dc:date>2019-06-09T11:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between override source type from forwarder and from indexer???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415998#M6128</link>
      <description>&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;some stanza&amp;gt;]
TRANSFORMS-change_sourcetype = change_sourcetype_tr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[change_sourcetype_tr]
REGEX = &amp;lt;regex to identify events for which you want to change sourcetype for&amp;gt;
DEST_KEY = MetaData:Sourcetype
FORMAT = sourcetype::&amp;lt;new sourcetype you want to assign&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Jun 2019 14:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415998#M6128</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-09T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between override source type from forwarder and from indexer???</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415999#M6129</link>
      <description>&lt;P&gt;thank you &lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 13:47:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/what-is-the-difference-between-override-source-type-from/m-p/415999#M6129</guid>
      <dc:creator>ahmedragy922</dc:creator>
      <dc:date>2019-06-11T13:47:00Z</dc:date>
    </item>
  </channel>
</rss>

