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!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...