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

.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!