File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ import axios from 'axios';
2323const betterstack_api_token = process . env . LOG_BETTERSTACK_API_TOKEN ;
2424
2525// API "Connect remotely via HTTP" // Dashboard > Connect remotely
26- // https://telemetry.betterstack.com/team/t<teamID >/dashboards/connections
26+ // https://telemetry.betterstack.com/team/t<id >/dashboards/connections
2727const betterstack_remotely_http_endpoint = process . env . LOG_BETTERSTACK_API_HTTP_REMOTELY_ENDPOINT + "?output_format_pretty_row_numbers=0" ;
2828const betterstack_api_username = process . env . LOG_BETTERSTACK_API_HTTP_USERNAME ;
2929const betterstack_api_password = process . env . LOG_BETTERSTACK_API_HTTP_PASSWORD ;
3030
3131// Dashboard > Sources
32- // https://telemetry.betterstack.com/team/t<teamID >/sources
32+ // https://telemetry.betterstack.com/team/t<id >/sources
3333// Source NAME - get it from source config UI : "Basic" > "Source ID" - it's a name not an int
3434const betterstack_source_table_name = process . env . LOG_BETTERSTACK_SOURCE_TABLE_NAME ;
3535// Source ID - get it from source url, or from results of get sources api - it's an int
3636// https://telemetry.betterstack.com/team/t<teamID>/sources/<sourceID>/data-ingestion
3737// unused // const betterstack_source_id = process.env.LOG_BETTERSTACK_SOURCE_ID;
3838
39- // Team ID - get it from source url or fetch source request
39+ // Team ID - get it from "Dashboard > Connect remotely" examples, or fetch source request
4040const betterstack_team_id = process . env . LOG_BETTERSTACK_TEAM_ID ;
4141
4242// action to do as first cmd line argument (node script.js <action>)
You can’t perform that action at this time.
0 commit comments