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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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