Skip to content

query kubernetes logs and other metadata fast with duckdb

License

Notifications You must be signed in to change notification settings

zawachte/kubsto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubsto

query kubernetes logs and other metadata fast with duckdb and pql

Building

make build-linux

Running

Load up the database

If you have KUBECONFIG set:

./bin/kubsto load

If you don't:

./bin/kubsto --kubeconfig kubeconfig

Query with pql

./bin/kubsto query "logs | where namespace == 'kube-system' | project time, log | where contains(log, 'error')"

Query with duckdb

duckdb data/kubsto.db

Future work

  • github actions
  • Investigate kubectl plugin

About

query kubernetes logs and other metadata fast with duckdb

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published