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!

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 ...