All Apps and Add-ons

Addon not parsing .log, only .txt

test_qweqwe
Builder

Hello guys.
My inputs.conf

[monitor:///var/log/tomcat/logs/catalina.*.log]
disabled = false
followTail = false
index = ldemo
sourcetype = tomcat:runtime:log

[monitor:///var/log/tomcat/logs/localhost.*.log]
disabled = false
followTail = false
index = ldemo
sourcetype = tomcat:runtime:log

[monitor:///var/log/tomcat/logs/manager.*.log]
disabled = false
followTail = false
index = ldemo
sourcetype = tomcat:runtime:log

[monitor:///var/log/tomcat/logs/host-manager.*.log]
disabled = false
followTail = false
index = ldemo
sourcetype = tomcat:runtime:log

[monitor:///var/log/tomcat/logs/localhost_access_log.*.txt]
disabled = false
followTail = false
index = ldemo
sourcetype = tomcat:access:log

And the problem is, that it's only parsed files with .txt format.

0 Karma
1 Solution

test_qweqwe
Builder

It's was permissions issue with the directory files on the filesystem.
I use

chmod 755 

in var/log/tomcat/logs/

View solution in original post

0 Karma

test_qweqwe
Builder

It's was permissions issue with the directory files on the filesystem.
I use

chmod 755 

in var/log/tomcat/logs/

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...