sources

Add an HEC token and optional metadata to a Splunk HEC Source

Add an HEC token and optional metadata to the specified Splunk HEC Source.

post/system/inputs/{id}/hectoken

Path parameters

idstring required

The <code>id</code> of the Splunk HEC Source.

Request body

allowedIndexesAtTokenstring[]
descriptionstring
enabledboolean
tokenstring required

Response

a list of InputSplunkHec objects

countinteger

number of items present in the items array

Changes