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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...