Getting Data In

Monitoring two different paths in inputs.conf, why am I only getting logs from one path, but not the second path?

pavanae
Builder

Hi the following is my inputs.conf

[monitor:///opt/jboss/server/*/log/server.log]
index = sit_2
sourcetype = log4j

[monitor:///opt/jboss/server/shared/logs/*/server.log]
index = sit_2
sourcetype = log4j

I am able to get logs from first path, but i wasn't able to get logs from the second path. I have checked whether the path is wrong, but i'ts correct and I also checked whether that path doesn't have splunk permissions, but it has permission.

I still can't see the logs from that particular path even though its seems everything was perfect.

Please tell me what might be the issue?

0 Karma
1 Solution

woodcock
Esteemed Legend

This will work:

[monitor:///opt/jboss/server/.../log/server.log]
index = sit_2
sourcetype = log4j

If that doesn't work then this is probably what is happening:

http://answers.splunk.com/answers/35210/crcsalt-issue.html

View solution in original post

woodcock
Esteemed Legend

This will work:

[monitor:///opt/jboss/server/.../log/server.log]
index = sit_2
sourcetype = log4j

If that doesn't work then this is probably what is happening:

http://answers.splunk.com/answers/35210/crcsalt-issue.html

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...