Deployment Architecture

Is there a way to ID the info being sent to one indexer from multiple forwarders in separate environment?

tpward123
Loves-to-Learn Lots

(Novice) Is there a way to identify uniquely the information that is being sent to a single indexer from multiple forwarders in separate environments?  Each environment is a mirror of the other.  They all have the same IPs and hostnames; including the forwarders.
Maybe there is a tag the forwarder can apply or something that makes them unique?

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

No. There is no "channel-level" metadata that you could leverage. So if all your forwarders are undistinguishable from one another there's no telling where the event came from.

0 Karma

tpward123
Loves-to-Learn Lots

Thanks Rick.
I've been searching the Solutions archive
Is there a _meta value that I can set to reflect that environment is sending?

Env1::Site1
Env1::Site2
....

Env2:Site1
Env2:Site2

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

You can do that (and that's exactly what I use in one of my environments).

If you can adjust your forwarder configuration, that's probably the way to go if you want to have a 100% sure method of differentiating betwen various sites.

There is no default field you can set (unless you use the host field but be aware that some sourcetypes can overwrite this field during indexing) so you have to set your own indexed field. And remember to configure it properly on the search-heads as well.

EDIT: and try to think of a field name that's highly unlikely to appear in your events so that your fields do not clash.

0 Karma
Get Updates on the Splunk Community!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...