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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...