Getting Data In

When adding "no_appending_timestamp = true" , how come logs stop coming in?

Alexing
New Member

Hi all,

I have a UDP port 1514 which I forward syslog data to (It is a homelab, I am aware a syslog server with forwarder would be better).
My current config in /opt/splunk/etc/apps/search/local/inputs.conf is:

[udp://1514]
connection_host = ip
index = syslog
sourcetype = syslog

But now, logs are coming in as:

<pre>Sep 15 21:12:10 10.0.60.1 Sep 15 20:13:28 HOSTNAME dnsmasq[28957]: reply apps[.]splunk[.]com is 54.186.82.128</pre>

So I would like to not prepend the log with the timestamp. Several resources indicate that I should add "no_appending_timestamp = true" to my config. Which would make it the following:

[udp://1514]
connection_host = ip
index = syslog
sourcetype = syslog
no_appending_timestamp = true

But when I do this, the logs are not coming in anymore (at least, I cannot query them).

Does someone know what the problem is?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...