Getting Data In

How to configure Windows 2012 Universal Forwarder and/or Syslog application to monitor rolling log files?

jodros
Builder

We have been a long time linux shop for monitoring syslog data. However recently we have needed to switch to winOS since we are trying to convert to syslog over TCP. I am running into issues now with the UF causing the syslog application to hang and not be able to write over previous rolling log files. Are there any suggestions on settings to try on the UF or syslog application? There are several very chatty devices that will roll a 100MB log file in about 5 minutes. These are usually the log files that the UF is having an issue.

Thanks

0 Karma
1 Solution

jodros
Builder

I do not believe it is the Splunk UF at this time. I think there is an issue with WinSyslog using circular logging, so I have switched back to normal logging. I also wrote a ps script to delete log files older than 2 hours based on last modified timestamp.

View solution in original post

0 Karma

jodros
Builder

I do not believe it is the Splunk UF at this time. I think there is an issue with WinSyslog using circular logging, so I have switched back to normal logging. I also wrote a ps script to delete log files older than 2 hours based on last modified timestamp.

0 Karma

jodros
Builder

Does the UF lock the file in anyway that would prevent the WinSyslog application from writing to it? Is there any setting that I could enable to resolve this UF issue?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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 ...