Getting Data In

How to exclude staging servers logs counting in daily license usage.

abhic25
Explorer

Hi, I have existing set of prod servers sending logs to splunk which has 10GB license capacity, is this possible to exclude upcoming staging servers which will be sending logs to existing licensing, might in future when we upgrade the license then we are planning to send some security logs to indexing and search for audit purpose.

Labels (1)

gcusello
SplunkTrust
SplunkTrust

Hi @abhic25,

you can follow two approaches:

  • disable sending from stage hosts e.g. disabling Splunk Forwarder or inputs,
  • filter logs from that hosts before indexing.

the first is obviously easier and don'r consule bandwidth, the second consule bandwidth and requires a little intervene on the Indexers (or on Heavy Forwarders if present).

If you choose the second, you can follow instructions at https://docs.splunk.com/Documentation/Splunk/8.0.6/Forwarding/Routeandfilterdatad#Filter_event_data_...

in few words:

in props.conf

[host::your_hosts]
TRANSFORMS-null= setnull

in transforms.conf

[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

Ciao.

Giuseppe

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...