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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...