Created
June 29, 2023 11:56
-
-
Save WadeBarnes/d2cdef175cb29618ac8fccece5460a78 to your computer and use it in GitHub Desktop.
In cluster query Elastic Search for logs for a given namespace through the api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -vk -XGET "https://elasticsearch.openshift-logging.svc:9200/_search" -H 'Content-Type: application/json' -H "Authorization: Bearer sha256~123abc" -d' | |
{ | |
"query": { | |
"match_all": {} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment