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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...