Getting Data In

How to blacklist server from heavy forwarder?

YungLee
Engager

Currently my Heavy Forwarder is receiving unwanted logs from a lot of different devices, and it is taking up a lot of space.

Is there a way to prevent / reject logs from all servers, and manually add server logs that we want to monitor into whitelist, so that it doesn't take up free space in my Heavy Forwarder.

 

So basically, reject all logs from all server.

Accept logs only from server1 and server2. 

 

Thank you in advance.

Labels (3)
0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @YungLee 

you can use 

acceptFrom in inputs.conf  of HF to allow data from specfic hosts 



SanjayReddy_0-1676022173478.png

 

0 Karma

YungLee
Engager

Hi @SanjayReddy ,

Thank you for your reply.

Just a additional question.

Does using the above configuration mean that the syslog will not enter or be stored in the Heavy Forwarder Linux machine's /var/log?

Thank you.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...