I am following the documentation to log events using javascript.
https://dev.splunk.com/enterprise/docs/devtools/javascript/logging-javascript/loggingjavascripthowto...
I am sending the data as below but couldn't see any of the keys in the Splunk log.
var payload = {
message: {
temperature: "70F",
chickenCount: 500
}
};