Dashboards & Visualizations

Deploying Splunk logging for NodeJS, where do I find the "URL" attribute?

kyo200793
New Member

I am deploying logging for NodeJS and followed: How to use a custom event format with Splunk logging for JavaScript.
link here: http://dev.splunk.com/view/splunk-logging-javascript/SP-CAAAE78

var config = {
    token: "your-token-here",
    url: "https://localhost:8088"
} 

I don't know where would I find the url?

0 Karma

jerry275
Observer

@ktugwell_splunk 

I went over this link to integrate splunk in my code base. - https://www.npmjs.com/package/splunk-logging

I have the same question, 

Where I can find the token and url that need to be passed in config variable.

0 Karma

ktugwell_splunk
Splunk Employee
Splunk Employee

Hey kyo, can you be anymore specific with your query? Are you receiving errors?

The guide you're using states that you only need to complete the token field

/**
 * **Only the token property is required.**
 */
var config = {
    token: "your-token-here",
    url: "https://localhost:8088"
};
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...