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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...