Getting Data In

Splunk log management

singhba1
New Member

I know splunk manages its own internal logs and there is log.cf and local-log.cfg. I am wondering can we manage log files we monitor e.g /var/log/mylog.log via splunk inbuilt log management. I mean just adding entries in local-log.cfg ?

thanks a lot

Labels (1)
0 Karma

singhba1
New Member
Example here:

appender.A1=RollingFileAppender appender.A1.fileName=/var/log/mylog.log appender.A1.maxFileSize=250000000 appender.A1.maxBackupIndex=5 appender.A1.layout=PatternLayout appender.A1.layout.ConversionPattern=%d{%m-%d-%Y %H:%M:%S.%l} %-5p %c - %m%n
0 Karma
Get Updates on the Splunk Community!

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

New This Month - Observability Updates Give Extended Visibility and Improve User ...

This month is a collection of special news! From Magic Quadrant updates to AppDynamics integrations to ...

Intro to Splunk Synthetic Monitoring

In our last post, we mentioned that the 3 key pieces of observability – metrics, logs, and traces – provide ...