<?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: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748818#M119002</link>
    <description>&lt;P&gt;Those error messages are saying Splunk does not have permission to use port 514.&amp;nbsp; All ports &amp;lt;1024 are "privileged" and require special permission to access.&amp;nbsp; Running Splunk as root will solve that, but I highly discourage that.&lt;/P&gt;&lt;P&gt;The recommended practice is to send syslog data to a dedicated syslog receiver (syslog-ng, for example), have it write the data to disk, and have a UF monitor those disk files.&amp;nbsp; You also can use Splunk Connect 4 Syslog (SC4S) to send the data directly to Splunk.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 17:20:49 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2025-06-26T17:20:49Z</dc:date>
    <item>
      <title>Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748794#M118990</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having issues getting data into Splunk Cloud with two new Universal forwarders.&lt;/P&gt;&lt;P&gt;I have two existing Universal Forwarders that are working just fine, but I am migrating these to new servers. Same Universal Forwarder version on both the old and new servers (9.4.3)&lt;/P&gt;&lt;P&gt;I have the Universal Forwader software installed on both the new Linux servers. I copied the &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt; and &lt;STRONG&gt;outputs.conf&lt;/STRONG&gt; files from the old servers. I also installed &lt;STRONG&gt;splunkclouduf.spl&lt;/STRONG&gt; that I downloaded from my Splunk Cloud instance.&lt;/P&gt;&lt;P&gt;The usage for these forwarders is limited to syslog messages only. I receive syslog messages from other devices on port 514 of the Universal Forwarders (UDP and TCP allowed) and those messages forward to Splunk Cloud. Pretty simple setup.&lt;/P&gt;&lt;P&gt;I have confirmed that traffic is being received on the servers on port 514 using &lt;STRONG&gt;tcpdump&lt;/STRONG&gt;. However, none of that traffic is reaching Splunk Cloud.&lt;/P&gt;&lt;P&gt;I can see the new forwarders in the Splunk Cloud Monitoring Console under Forwarders-&amp;gt;Versions and Forwarders-&amp;gt;Instance.&lt;/P&gt;&lt;P&gt;But no data is being received from the new forwarders.&lt;/P&gt;&lt;P&gt;Below are my &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt; and &lt;STRONG&gt;outputs.conf&lt;/STRONG&gt; files from one of the new servers. As you can see, very simple setup and &lt;STRONG&gt;outputs.conf&lt;/STRONG&gt; is doing nothing. Again, these were copied from my old working servers exactly, except for the hostname on the new forwarders.&lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;STRONG&gt;inputs.conf&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[default]
host = NHC-NETSplunkForwarder

[tcp://514]
acceptFrom = *
connection_host=ip
index=nhcnetwork
sourcetype=NETWORK
disabled=0

[udp://514]
acceptFrom = *
connection_host=ip
index=nhcnetwork
sourcetype=NETWORK&lt;/LI-CODE&gt;&lt;P&gt;----------------------------------------&lt;BR /&gt;&lt;STRONG&gt;outputs.conf &lt;/STRONG&gt;(sanitized)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#This breaks stuff. The credentials package provides what is needed here. Leave commented out.
#[tcpout]
#defaultGroup = splunkcloud,default-autolb-group

#[tcpout:default-autolb-group]
#server = XXXXXXX.splunkcloud.com:9997
#disabled = false

#[tcpout-server://XXXXXXX.splunkcloud.com:9997]&lt;/LI-CODE&gt;&lt;P&gt;Do I need to do something in Splunk Cloud to allow these new forwarders to send data? I don't know how&amp;nbsp;&lt;STRONG&gt;splunkclouduf.spl&lt;/STRONG&gt;&amp;nbsp;works so I don't know a way to monitor output traffic from the Universal Forwarder. Any suggestions or tips are appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Pete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 15:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748794#M118990</guid>
      <dc:creator>Pete_</dc:creator>
      <dc:date>2025-06-26T15:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748796#M118991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254670"&gt;@Pete_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;splunkclouduf.spl&lt;SPAN&gt;&amp;nbsp;app configures secure forwarding to Splunk Cloud; you should not need to modify&amp;nbsp;&lt;/SPAN&gt;outputs.conf&lt;SPAN&gt;&amp;nbsp;directly, also, because you're able to see the new forwarders in the&amp;nbsp;Cloud Monitoring Console (CMC) we know that the outputs are established and the new UFs can reach Splunk Cloud.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The testing you've done shows the 514 syslog feed arriving at the box, however is Splunk listening on that port? If you run the following can you see that splunkd is listening to the port?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo netstat -tulnp | grep 514&lt;/LI-CODE&gt;&lt;P&gt;Are there any logs in $SPLUNK_HOME/var/log/splunk/splunkd.log about binding port 514, any errors etc?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 15:35:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748796#M118991</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-06-26T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748815#M118999</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;Again, forgive me if you get repeated replies from me. My replies are not showing after I post them. I'm brand new to the community so maybe I'm missing something silly.&lt;/P&gt;&lt;P&gt;To answer your questions,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo netstat -tulnp | grep 514&lt;/LI-CODE&gt;&lt;P&gt;this returns nothing&lt;/P&gt;&lt;P&gt;However, plenty of errors in splunkd.log&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@NHC-NETSplunkForwarder:/opt/splunkforwarder/var/log/splunk# cat splunkd.log | grep "514"
06-25-2025 19:24:20.190 +0000 INFO  TcpInputConfig [59254 TcpListener] - IPv4 port 514 is reserved for raw input
06-25-2025 19:24:20.190 +0000 INFO  TcpInputConfig [59254 TcpListener] - IPv4 port 514 will negotiate s2s protocol level 7
06-25-2025 19:24:20.190 +0000 ERROR TcpInputProc [59254 TcpListener] - Could not bind to port IPv4 port 514: Permission denied
06-25-2025 19:26:21.991 +0000 INFO  TcpInputConfig [59507 TcpListener] - IPv4 port 514 is reserved for raw input
06-25-2025 19:26:21.991 +0000 INFO  TcpInputConfig [59507 TcpListener] - IPv4 port 514 will negotiate s2s protocol level 7
06-25-2025 19:26:21.992 +0000 ERROR TcpInputProc [59507 TcpListener] - Could not bind to port IPv4 port 514: Permission denied
06-25-2025 21:18:16.827 +0000 INFO  TcpInputConfig [60127 TcpListener] - IPv4 port 514 is reserved for raw input
06-25-2025 21:18:16.827 +0000 INFO  TcpInputConfig [60127 TcpListener] - IPv4 port 514 will negotiate s2s protocol level 7
06-25-2025 21:18:16.828 +0000 ERROR TcpInputProc [60127 TcpListener] - Could not bind to port IPv4 port 514: Permission denied
06-26-2025 01:38:09.514 +0000 INFO  AutoLoadBalancedConnectionStrategy [60145 TcpOutEloop] - Connected to idx=34.201.206.231:9997:0, pset=0, reuse=0. using ACK. autoBatch=1
06-26-2025 14:41:49.984 +0000 INFO  TcpInputConfig [63678 TcpListener] - IPv4 port 514 is reserved for raw input
06-26-2025 14:41:49.984 +0000 INFO  TcpInputConfig [63678 TcpListener] - IPv4 port 514 will negotiate s2s protocol level 7
06-26-2025 14:41:49.984 +0000 ERROR TcpInputProc [63678 TcpListener] - Could not bind to port IPv4 port 514: Permission denied&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Jun 2025 16:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748815#M118999</guid>
      <dc:creator>Pete_</dc:creator>
      <dc:date>2025-06-26T16:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748818#M119002</link>
      <description>&lt;P&gt;Those error messages are saying Splunk does not have permission to use port 514.&amp;nbsp; All ports &amp;lt;1024 are "privileged" and require special permission to access.&amp;nbsp; Running Splunk as root will solve that, but I highly discourage that.&lt;/P&gt;&lt;P&gt;The recommended practice is to send syslog data to a dedicated syslog receiver (syslog-ng, for example), have it write the data to disk, and have a UF monitor those disk files.&amp;nbsp; You also can use Splunk Connect 4 Syslog (SC4S) to send the data directly to Splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 17:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748818#M119002</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-06-26T17:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748820#M119003</link>
      <description>&lt;P&gt;We will be installing&amp;nbsp;&lt;SPAN&gt;Splunk Connect 4 Syslog soon. But I haven't got there yet. That will be more involved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We previously tried running&amp;nbsp;&lt;SPAN&gt;syslog-ng on the server and monitoring the file, but everything came into splunk cloud from the same host in Splunk Cloud. It was a mess.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I installed the Universal Forwarder on the new servers, I created new user&amp;nbsp;&lt;STRONG&gt;splunkfwd&lt;/STRONG&gt; to run it, just like the instructions said. Can I simply change the permissions for user&amp;nbsp;&lt;STRONG&gt;splunkfwd&lt;/STRONG&gt;? At this point I don't really care if it runs with root privileges. what would the needed permissions for user &lt;STRONG&gt;splunkfwd&lt;/STRONG&gt; to overcome this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Pete&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 17:29:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748820#M119003</guid>
      <dc:creator>Pete_</dc:creator>
      <dc:date>2025-06-26T17:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748835#M119006</link>
      <description>&lt;P&gt;To allow the UF access to port 514, try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;setcap 'cap_net_bind_service=+ep' /path/to/uf&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Jun 2025 18:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748835#M119006</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-06-26T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748836#M119007</link>
      <description>&lt;LI-CODE lang="markup"&gt;setcap 'cap_net_bind_service=+ep' /opt/splunkforwarder/bin/splunk&lt;/LI-CODE&gt;&lt;P&gt;I just tried this, still seeing the same issue.&lt;/P&gt;&lt;P&gt;I also had my system admin move user splunkfwd (this user runs splunk) into the sudo group&amp;nbsp;&lt;/P&gt;&lt;P&gt;still seeing the same errors in splunkd.log&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;06-26-2025 18:46:46.515 +0000 INFO  TcpInputConfig [921 TcpListener] - IPv4 port 514 is reserved for raw input
06-26-2025 18:46:46.515 +0000 INFO  TcpInputConfig [921 TcpListener] - IPv4 port 514 will negotiate s2s protocol level 7
06-26-2025 18:46:46.515 +0000 ERROR TcpInputProc [921 TcpListener] - Could not bind to port IPv4 port 514: Permission denied
06-26-2025 19:27:32.285 +0000 INFO  TcpInputConfig [1554 TcpListener] - IPv4 port 514 is reserved for raw input
06-26-2025 19:27:32.286 +0000 INFO  TcpInputConfig [1554 TcpListener] - IPv4 port 514 will negotiate s2s protocol level 7
06-26-2025 19:27:32.286 +0000 ERROR TcpInputProc [1554 TcpListener] - Could not bind to port IPv4 port 514: Permission denied&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 19:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748836#M119007</guid>
      <dc:creator>Pete_</dc:creator>
      <dc:date>2025-06-26T19:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data not reaching Splunk Cloud after Migrating to new Universal Forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748838#M119009</link>
      <description>&lt;P&gt;Talked to my sysadmin, we decided to use port 1035 instead of port 514. not getting the socket errors in splunkd.log anymore, but still not seeing the messages from the UF in Splunk Cloud.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@NHC-NETSplunkForwarder:/opt/splunkforwarder/var/log/splunk# cat splunkd.log | grep "1035"
06-26-2025 20:05:00.017 +0000 INFO  TcpInputConfig [1851 TcpListener] - IPv4 port 1035 is reserved for raw input
06-26-2025 20:05:00.017 +0000 INFO  TcpInputConfig [1851 TcpListener] - IPv4 port 1035 will negotiate s2s protocol level 7
06-26-2025 20:05:00.017 +0000 INFO  TcpInputProc [1851 TcpListener] - Creating raw Acceptor for IPv4 port 1035 with Non-SSL
06-26-2025 20:25:30.471 +0000 WARN  AutoLoadBalancedConnectionStrategy [1869 TcpOutEloop] - Possible duplication of events with channel=source::udp:1035|host::10.12.2.149|NETWORK|, streamId=1989559377486376685, offset=6 on host=3.213.185.213:9997 connid 0&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Jun 2025 20:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-not-reaching-Splunk-Cloud-after-Migrating-to-new-Universal/m-p/748838#M119009</guid>
      <dc:creator>Pete_</dc:creator>
      <dc:date>2025-06-26T20:47:45Z</dc:date>
    </item>
  </channel>
</rss>

