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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...