Getting Data In

How to configure inputs.conf file?

karthi2809
Builder

I have log file name as

va10p30093_03262018_access.log
va10p30093_03242018_error_log

My inputs.conf configuration :
[default]
host = va10p40093
[monitor:////ws/ihs85/va10p30093-http-server85]
crcSalt =
whitelist = http_plugin.log|va10p40093__access.log|*error_log
blacklist=.[0-9]$
index =test_prod

But logs are not forwarding.Please help on this

0 Karma
1 Solution

mayurr98
Super Champion

Try this on forwarder.

[monitor:///ws/ihs85/va10p30093-http-server85]
index =test_prod
whitelist = http_plugin\.log$|va10p40093_.*_access\.log$|error_log$

let me know if this helps!

View solution in original post

mayurr98
Super Champion

Try this on forwarder.

[monitor:///ws/ihs85/va10p30093-http-server85]
index =test_prod
whitelist = http_plugin\.log$|va10p40093_.*_access\.log$|error_log$

let me know if this helps!

karthi2809
Builder

for this log .there is no extension as .log :

va10p30093_03242018_error_log

0 Karma
Get Updates on the Splunk Community!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...