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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...