Getting Data In

Inputs.conf whitelist syntax assistance

splunkingsplun1
Explorer

I have several virtual hosts under /opt/log/

/opt/log/webA

/opt/log/webB

/opt/log/webC

They all have denied.log that I need to index, would this be correct inputs.conf?

[monitor:///opt/log/www*]

sourcetype = apache

index=www

host_segment=3

whitelist = denied\.log$

Tags (1)
0 Karma

splunkingsplun1
Explorer

This worked:

[monitor:///opt/log/*]

index=web

host_segment=3

sourcetype = apache

index=www
whitelist = access.log$

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...