<?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: Two types of data over the same port? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Two-types-of-data-over-the-same-port/m-p/616557#M106519</link>
    <description>&lt;P&gt;In short, you can't.&amp;nbsp; You've already "used up" port 514 with JSON data so you can't also use it for syslog.&lt;/P&gt;&lt;P&gt;Splunk recommends against ingesting TCP or UDP data directly as data will be lost whenever Splunk restarts.&lt;/P&gt;&lt;P&gt;The preferred way to ingest syslog data is to stand up a dedicated syslog server (syslog-ng or rsyslog) and have that server forward (using a UF) to Splunk.&amp;nbsp; Alternatively, you can use the Splunk Connect for Syslog (SC4S) app to do both.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 16:50:52 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-10-10T16:50:52Z</dc:date>
    <item>
      <title>Two types of data over the same port?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-types-of-data-over-the-same-port/m-p/616554#M106518</link>
      <description>&lt;P&gt;I'm trying to get both JSON and syslog information from our firewall into Splunk Cloud using universal forwarder.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I've gotten the JSON in by getting splunk to listen to port 514, forward that to the index, and then adding it using&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;splunk add udp 514 -sourcetype JSON&lt;/P&gt;&lt;P&gt;However, now I want to add the syslog information as well, which comes over the same port.&amp;nbsp; When I attempt to add that I get an error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;splunk add udp 514 -sourcetype syslog&lt;BR /&gt;Parameter name: UDP port 514 is not available.&lt;/P&gt;&lt;P&gt;How do I get the splunk index to read both from the same port?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 16:39:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-types-of-data-over-the-same-port/m-p/616554#M106518</guid>
      <dc:creator>paulgo</dc:creator>
      <dc:date>2022-10-10T16:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Two types of data over the same port?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-types-of-data-over-the-same-port/m-p/616557#M106519</link>
      <description>&lt;P&gt;In short, you can't.&amp;nbsp; You've already "used up" port 514 with JSON data so you can't also use it for syslog.&lt;/P&gt;&lt;P&gt;Splunk recommends against ingesting TCP or UDP data directly as data will be lost whenever Splunk restarts.&lt;/P&gt;&lt;P&gt;The preferred way to ingest syslog data is to stand up a dedicated syslog server (syslog-ng or rsyslog) and have that server forward (using a UF) to Splunk.&amp;nbsp; Alternatively, you can use the Splunk Connect for Syslog (SC4S) app to do both.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 16:50:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-types-of-data-over-the-same-port/m-p/616557#M106519</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-10T16:50:52Z</dc:date>
    </item>
  </channel>
</rss>

