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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...