We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94eab46 commit 93853fdCopy full SHA for 93853fd
examples/basic.js
@@ -37,7 +37,7 @@ Logger.error = function(err, context) {
37
console.log("error", err, "context", context);
38
};
39
40
-// Define the payload to send to Splunk's Event Collector
+// Define the payload to send to HTTP Event Collector
41
var payload = {
42
// Message can be anything, it doesn't have to be an object
43
message: {
@@ -85,4 +85,4 @@ console.log("Sending payload", payload);
85
Logger.send(payload, function(err, resp, body) {
86
// If successful, body will be { text: 'Success', code: 0 }
87
console.log("Response from Splunk", body);
88
-});
+});
0 commit comments