Karina logs
karina logs¶
Retrieve and export logs from ElasticSearch
karina logs [flags]
Options¶
--cluster string The kubernetes cluster to search in
--count int Number of log entries to return (default 100000)
--from string Logs since
-h, --help help for logs
--name string Filebeat name (default "infra")
-n, --namespace string Restruct to namespace
-p, --pod string Restrict to pod
-q, --query string KQL query
--since string Logs since (default "1d")
--timestamps export timestamps per entry
--to string Logs to
Options inherited from parent commands¶
-c, --config stringArray Path to config file (default [karina.yml])
--dry-run Don't apply any changes, print what would have been done
-e, --extra stringArray Extra arguments to apply e.g. -e ldap.domain=example.com
--in-cluster Use in cluster kubernetes config
--kubeconfig string Specify a kubeconfig to use, if empty a new kubeconfig is generated from master CA's at runtime
-v, --loglevel count Increase logging level
--prune Delete previously enabled resources (default true)
--skip-decrypt Skip any phases requiring decryption
--trace Print out generated specs and configs
SEE ALSO¶
- karina -