Skip to content

renshuki/bandwidth-fast-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This tiny script retrieve your download bandwidth speed every 5 minutes and send the data point to a fastcom index on Elasticsearch.

Requirements

  • Get a Fast.com API token: How to
  • Have an Elasticsearch deployment running (this code is for Elastic Cloud)

Setup

Add the following environment variables:

  • EC_ID (Elastic Cloud ID for your deployment)
  • ES_USERNAME (Elasticsearch username)
  • ES_PASSWORD (Elasticsearch password)
  • FASTCOM_TOKEN (Fast.com API token)

Install

npm install

Usage

node index.js to run the script.

About

This tiny script retrieve your download bandwidth speed every 5 minutes and send the data point to a `fastcom` index on Elasticsearch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors