<?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 Multiple sourcetypes and listenners on the same udp port. in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494451#M24523</link>
    <description>&lt;P&gt;I have some questions concerning a Splunk deployment i'm working on, we have a single Splunk instance and we want to forward all the logs from network equipment to it directly. &lt;/P&gt;

&lt;P&gt;Can we send all the data to UDP/514 while defining multiple sourcetypes, since the default syslog port cannot be changed in some devices.&lt;BR /&gt;
 is it possible to set multiple listeners with the same port somthing along "host::port"&lt;BR /&gt;
"host_ip_1:514"&lt;BR /&gt;
"host_ip_2:514"&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
etc.&lt;/P&gt;

&lt;P&gt;We're afraid that if we just open the UDP/514 and dump all the data with only one sourcetype defined (syslog), it'll be harder to manage the data and integrate it with some Splunk Apps that require specific sourcetypes.&lt;/P&gt;

&lt;P&gt;what would you suggest?&lt;/P&gt;

&lt;P&gt;Excuse the rookie question, i'm new to splunk.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:25:33 GMT</pubDate>
    <dc:creator>foufoumad</dc:creator>
    <dc:date>2020-09-30T02:25:33Z</dc:date>
    <item>
      <title>Multiple sourcetypes and listenners on the same udp port.</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494451#M24523</link>
      <description>&lt;P&gt;I have some questions concerning a Splunk deployment i'm working on, we have a single Splunk instance and we want to forward all the logs from network equipment to it directly. &lt;/P&gt;

&lt;P&gt;Can we send all the data to UDP/514 while defining multiple sourcetypes, since the default syslog port cannot be changed in some devices.&lt;BR /&gt;
 is it possible to set multiple listeners with the same port somthing along "host::port"&lt;BR /&gt;
"host_ip_1:514"&lt;BR /&gt;
"host_ip_2:514"&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
etc.&lt;/P&gt;

&lt;P&gt;We're afraid that if we just open the UDP/514 and dump all the data with only one sourcetype defined (syslog), it'll be harder to manage the data and integrate it with some Splunk Apps that require specific sourcetypes.&lt;/P&gt;

&lt;P&gt;what would you suggest?&lt;/P&gt;

&lt;P&gt;Excuse the rookie question, i'm new to splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494451#M24523</guid>
      <dc:creator>foufoumad</dc:creator>
      <dc:date>2020-09-30T02:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sourcetypes and listenners on the same udp port.</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494452#M24524</link>
      <description>&lt;P&gt;Don't use Splunk for Syslog network ports. Send syslog to a syslog receiver and pick it up with a universal forwarder.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 15:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494452#M24524</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2019-10-09T15:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sourcetypes and listenners on the same udp port.</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494453#M24525</link>
      <description>&lt;P&gt;Hi foufoumad,&lt;BR /&gt;
you have to ingest all sources with a sourcetype (e.g. syslog) then override the sourcetype based on regex.&lt;BR /&gt;
The main job is to identify a regex for each kind of source.&lt;BR /&gt;
For more information see at &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In few words:&lt;BR /&gt;
on &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
TRANSFORMS-changesourcetype_source1 = set_sourcetype_1
TRANSFORMS-changesourcetype_source2 = set_sourcetype_2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;on &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[set_sourcetype_1]
REGEX = your_regex1
FORMAT = sourcetype::your_new_sourcetype_1
DEST_KEY = MetaData:Sourcetype
[set_sourcetype_2]
REGEX = your_regex2
FORMAT = sourcetype::your_new_sourcetype_2
DEST_KEY = MetaData:Sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 08:40:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Multiple-sourcetypes-and-listenners-on-the-same-udp-port/m-p/494453#M24525</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-10T08:40:40Z</dc:date>
    </item>
  </channel>
</rss>

