-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: jzonthemtn <jeff.zemerick@mtnfog.com>
- Loading branch information
1 parent
bb2519c
commit 8520503
Showing
7 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
#!/bin/bash -e | ||
|
||
# pip install awscurl | ||
|
||
# Get from the Terraform output or the AWS Console | ||
OPENSEARCH_ENDPOINT="search-osi-ubi-domain-pjju5yl7neorgz4jcsqhq5o7fq.us-east-1.es.amazonaws.com" | ||
|
||
awscurl \ | ||
"https://${OPENSEARCH_ENDPOINT}/ubi_events,ubi_queries" \ | ||
-X DELETE \ | ||
--region us-east-1 \ | ||
--service es \ | ||
--profile mtnfog | ||
--profile TODO_PUT_YOUR_AWS_PROFILE_NAME_HERE |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
#!/bin/bash -e | ||
|
||
# pip install awscurl | ||
|
||
# Get from the Terraform output or the AWS Console | ||
OPENSEARCH_ENDPOINT="search-osi-ubi-domain-pjju5yl7neorgz4jcsqhq5o7fq.us-east-1.es.amazonaws.com" | ||
|
||
awscurl \ | ||
"https://${OPENSEARCH_ENDPOINT}/_cat/indices" \ | ||
-X GET \ | ||
--region us-east-1 \ | ||
--service es \ | ||
--profile mtnfog | ||
--profile TODO_PUT_YOUR_AWS_PROFILE_NAME_HERE | ||
|
||
awscurl \ | ||
"https://${OPENSEARCH_ENDPOINT}/ubi_events/_search" \ | ||
-X GET \ | ||
--region us-east-1 \ | ||
--service es \ | ||
--profile mtnfog | jq | ||
--profile TODO_PUT_YOUR_AWS_PROFILE_NAME_HERE | jq |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
#!/bin/bash -e | ||
|
||
# pip install awscurl | ||
|
||
# Get from the Terraform output or the AWS Console | ||
OPENSEARCH_ENDPOINT="search-osi-ubi-domain-pjju5yl7neorgz4jcsqhq5o7fq.us-east-1.es.amazonaws.com" | ||
|
||
awscurl \ | ||
"https://${OPENSEARCH_ENDPOINT}/_cat/indices" \ | ||
-X GET \ | ||
--region us-east-1 \ | ||
--service es \ | ||
--profile mtnfog | ||
--profile TODO_PUT_YOUR_AWS_PROFILE_NAME_HERE | ||
|
||
awscurl \ | ||
"https://${OPENSEARCH_ENDPOINT}/ubi_queries/_search" \ | ||
-X GET \ | ||
--region us-east-1 \ | ||
--service es \ | ||
--profile mtnfog | jq | ||
--profile TODO_PUT_YOUR_AWS_PROFILE_NAME_HERE | jq |
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
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
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