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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...