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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...