Deployment Architecture

Forward to indexer all except from particular path

Wojt3k
Engager

Hello,

I would like to exclude just one user from forwarding logs and I am thinking if my solution will work:

in inputs.conf I would like to define:

[monitor:///home/nessus/.bash_history]
disabled = true

[monitor:///home/*/.bash_history]
disabled = false

The goal is to exclude logging data from user nessus but to log everybody else.

I am not sure if it's a good solution, maybe someone has better idea? 

Labels (2)
0 Karma
1 Solution

manjunathmeti
Champion

hi @Wojt3k,

You can use deny list.

[monitor:///home/*/.bash_history]
blacklist=nessus

View solution in original post

0 Karma

m_pham
Splunk Employee
Splunk Employee
0 Karma

manjunathmeti
Champion

hi @Wojt3k,

You can use deny list.

[monitor:///home/*/.bash_history]
blacklist=nessus
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...