This SPL will generate a list of HEC token strings that you could copy pasta straight into an inputs.conf (although testing & validation is always wise).
Useful if you are trying to replicate Splunk Cloud HEC tokens to Heavy Forwarders.
Example output:
[<token title>]
description = <description, (if blank, title)>
disabled = 0
index = index_1