splunk-events
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "splunk-events", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Javascript lib to create Splunk Logs via HTTP", | ||
@@ -5,0 +5,0 @@ "main": "dist/splunk-events.js", |
@@ -25,7 +25,7 @@ # Splunk Events | ||
splunkEvents.config({ | ||
token: 'xxx', // required | ||
token: 'YOUR_TOKEN_HERE', // required | ||
}); | ||
splunkEvents.logEvent({ | ||
user: 'tiago' | ||
username: 'vader' | ||
}); | ||
@@ -43,7 +43,7 @@ ``` | ||
splunkEvents.config({ | ||
token: 'xxx', // required | ||
token: 'YOUR_TOKEN_HERE', // required | ||
}); | ||
splunkEvents.logEvent({ | ||
user: 'tiago' | ||
username: 'vader' | ||
}); | ||
@@ -60,10 +60,10 @@ ``` | ||
// Required. Splunk server endpoint | ||
endpoint: 'xxxxx', | ||
endpoint: 'YOUR_SPLUNK_ENDPOINT', | ||
// Required. This is provided by the Splunk administrator | ||
token: 'xxxxx', | ||
token: 'YOUR_TOKEN', | ||
// Optional. Index created in Splunk. The 'token' option already associates the index info. | ||
// This option is useful when the token have multiple indexes. | ||
index: 'xxxxx', | ||
index: 'YOUR_INDEX', | ||
@@ -70,0 +70,0 @@ // A debounced function will automatically flush your events after some time |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
431863