Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script to scrape unused elasticsearch/opensearch domains #280

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Conversation

cweibel
Copy link
Contributor

@cweibel cweibel commented Oct 19, 2023

Changes proposed in this pull request:

  • Add a script to scrape unused Elasticsearch and OpenSearch clusters based on Searchable Documents being 0 for the last day according to CloudWatch

security considerations

AWS Account number needs to be passed into the script, otherwise relies on existing AWS Vault connection and CF CLI oauth-token

@cweibel cweibel requested a review from a team October 19, 2023 12:56
Copy link
Contributor

@ChrisMcGowan ChrisMcGowan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cweibel cweibel merged commit b33e339 into main Oct 19, 2023
1 check passed
@cweibel cweibel deleted the unused-es branch October 19, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants