<?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 override in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64058#M12867</link>
    <description>&lt;P&gt;Does the host of the data show up as fortigate?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2013 20:53:25 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-09-16T20:53:25Z</dc:date>
    <item>
      <title>sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64057#M12866</link>
      <description>&lt;P&gt;I am new to splunk and i am now going to receive syslog from multiple devices on UDP514, so i cant define a specific sourcetype to UDP:514, right? And I installed the Fortigate apps and edited the /etc/hosts to resolve the IP. I can successfully resolve the IP to hostname "fortigate" and below are my input.conf and props.conf files&lt;/P&gt;

&lt;P&gt;input.conf&lt;BR /&gt;
[udp://514]&lt;BR /&gt;
connection_host = dns&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[host::fortigate]&lt;BR /&gt;
sourcetype = fortigate&lt;/P&gt;

&lt;P&gt;It is not working, sourcetype of the data still shown as UDP:514, did i do any wrong?&lt;BR /&gt;
Thanks for helping&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 10:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64057#M12866</guid>
      <dc:creator>jackykitkit</dc:creator>
      <dc:date>2013-09-16T10:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64058#M12867</link>
      <description>&lt;P&gt;Does the host of the data show up as fortigate?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 20:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64058#M12867</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-09-16T20:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64059#M12868</link>
      <description>&lt;P&gt;shouldn't the sourcetype be present in the udp://.. inputs stanza?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 20:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64059#M12868</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-09-16T20:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64060#M12869</link>
      <description>&lt;P&gt;yes, the host shown as "fortigate" sourcetype and source are UDP:514&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 00:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64060#M12869</guid>
      <dc:creator>jackykitkit</dc:creator>
      <dc:date>2013-09-17T00:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64061#M12870</link>
      <description>&lt;P&gt;You can do&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[udp://iPaddress:514]
Index=foo
sourcetype=bar
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Sep 2013 01:03:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64061#M12870</guid>
      <dc:creator>adrianathome</dc:creator>
      <dc:date>2013-09-17T01:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64062#M12871</link>
      <description>&lt;P&gt;The input.conf UDP sets the sourcetype, and source.&lt;/P&gt;

&lt;P&gt;This will need to be overridden, and a props.conf by itself is not enough.&lt;/P&gt;

&lt;P&gt;See this post: &lt;A href="http://answers.splunk.com/answers/34251/udp514-and-source-types"&gt;http://answers.splunk.com/answers/34251/udp514-and-source-types&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 01:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64062#M12871</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-09-17T01:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64063#M12872</link>
      <description>&lt;P&gt;Thanks for helping, i am now successfully override the sourcetype of fortigate, and my config are:&lt;/P&gt;

&lt;P&gt;input.conf&lt;BR /&gt;
[udp://514]&lt;BR /&gt;
connection_host = dns&lt;BR /&gt;
sourcetype = syslog&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[syslog]&lt;BR /&gt;
TRANSFORMS-sourcetype_and_host_override = fortigate&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[fortigate]&lt;BR /&gt;
DEST_KEY = MetaData:Sourcetype&lt;BR /&gt;
REGEX = fortigate&lt;BR /&gt;
FORMAT = sourcetype::fortigate&lt;/P&gt;

&lt;P&gt;But how can i override the sourcetype if i have another host come from udp514? thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-override/m-p/64063#M12872</guid>
      <dc:creator>jackykitkit</dc:creator>
      <dc:date>2020-09-28T14:48:41Z</dc:date>
    </item>
  </channel>
</rss>

