Getting Data In

How to troubleshoot Syslog-ng -> Splunk issue?

echojacques
Builder

Hello,

My Splunk installation is configured to ingest data from many different sources. Approximately half of the sources are direct (device -> Splunk) and the other half are indexed from a syslog-ng server (device -> syslog -> Splunk). A few days ago, Splunk stopped indexing all data from the syslog server (about 10 different sourcetypes). I checked connectivity between the syslog server and Splunk and everything seems fine. I also rebooted the syslog server and Splunk. So at this point, I'm not sure what else to do or how to investigate this issue since it's not specific to one source/sourcetype. How can I troubleshoot this issue? Thanks.

Tags (2)
0 Karma
1 Solution

echojacques
Builder

After some digging around, we figured it out: our splunk forwarder service wasn't running on our syslog server. As soon as we started it, we started to see data from our syslog sources in Splunk.

View solution in original post

0 Karma

echojacques
Builder

After some digging around, we figured it out: our splunk forwarder service wasn't running on our syslog server. As soon as we started it, we started to see data from our syslog sources in Splunk.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Sounds like a problem with Syslog-ng.

  1. Are you receiving events with Syslog-ng?
  2. Are you writing to file, or using tcp/udp to Splunk? ( Syslog -> NG -> file -> Splunk ) OR (Syslog -> NG -> syslog -> Splunk)
  3. Are you using a forwarder at all?

echojacques
Builder

We're running Linux 2.6.32-5...

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

What OS do you have?

0 Karma

echojacques
Builder

I didn't find /opt/splunk or /opt/splunkforwarder in any of the splunk directories. I do have /opt/ but the directory is empty.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

do you have "/opt/splunk" or "/opt/splunkforwarder" on the system?

0 Karma

echojacques
Builder

Hi,

  1. Yes, syslog-ng is receiving events.
  2. Writing to a file: syslog-ng -> file -> Splunk.
  3. I don't think so but how can I check if I am using a forwarder? Splunk professional services setup our Splunk and I'm still learning the ropes.

Thanks

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Cisco Data Fabric from Architecture to Investigation, Better SOC Visibility, and More ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

The Trust Gap: Why a Data Foundation is Fundamental to an Agentic Enterprise

The Trust Gap: Why a data foundation is fundamental to an  Agentic Enterprise.   Agentic AI is transforming ...

Data Management Digest – September 2026

    Welcome to the September 2026 edition of Data Management Digest! September brought a fresh wave of ...