Open
Description
This is a feature request to allow configurable default metadata fields (host
, source
, sourcetype
, index
) for the TCP output, as is currently supported by the HEC output.
I believe this should be possible by sending a header over the TCP socket as the first line of the payload, which should look like:
***SPLUNK*** <metadata field>=<string> <metadata field>=<string> ...
More info at: https://docs.splunk.com/Documentation/Splunk/8.0.4/Data/Assignmetadatatoeventsdynamically
Metadata
Metadata
Assignees
Labels
No labels