Skip to content

arkadiyt/ddexport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddexport

Datadog's UI only lets you export 5000 rows of logs or spans - ddexport is a utility to hit Datadog's api and export the complete set of data.

Usage

go install github.com/arkadiyt/ddexport/cmd/ddexport@latest

# Set your API and APP keys
export DD_API_KEY=...
export DD_APP_KEY=...

# Export logs
ddexport logs -query 'env:production' -from 'now-30d' -to 'now' -output output.txt

# Export spans
ddexport spans -query 'env:production' -from 'now-30d' -to 'now' -output output.txt

Getting in touch

Feel free to contact me on twitter: https://twitter.com/arkadiyt

About

A cli utility to export datadog logs and spans (more than the 5000 allowed in the UI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published