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