visualize dd log query search results with Albers USA D3 projections
- clone repository
- add your Datadog
API_KEY
andAPP_KEY
to the.env
file in this repository. DatadogHQ is a monitoring platform that's free to sign up for athttps://www.datadoghq.com/
. (if using heroku add env variables to settings) - enable Logs in datadog datadog logs
- create a facet for state_name (example
state_name:Alabama
) - create a measure for the value you wish to visualize (default
revenue
) npm install
npm start
- make gist of your
/logs-queries/
request and copy the link (from: https://docs.datadoghq.com/api/?lang=bash#get-a-list-of-logs ) example gist - visit in browser with query param "config" set to url of
/log-queries/
post body json
dd_albers_project $ npm start
visit localhost:5000/?config=<gist_of_logs_queries_post_body.json>
- This is WIP, still only supports log searches that return a facet "state_name" and measure "revenue" at the moment as POC