Open
Description
Im able to send logs via postman and I need to add a header, how can I do the same in the code, I tried the following:
const URL = "https://<URL>/services/collector/raw"
const TOKEN = "123456-1234-1234-123456"
const Logger = new SplunkLogger({
token: TOKEN,
url: URL,
headers: {
'X-Splunk-Request-Channel': TOKEN
}
})
Thanks
Metadata
Metadata
Assignees
Labels
No labels