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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...