envs

Splunk — HTTP Event Collector

splunk/hec · version 1

envs add splunk/hec

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
SPLUNK_HEC_URL required config Collector endpoint.. Shape ^https://\S+$. where to get it
SPLUNK_HEC_TOKEN required secret Event collector token. Write access to the index.. where to get it

The JSON the CLI reads