Getting Data In

Splunk event collector with nodejs can't see data in splunk

rohan05
Observer

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
}
};
Labels (1)
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...