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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...