Skip to content

malayh/opensearch-healpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Run the following to rollover a data stream

python ./opensearch-helpers/data_stream.py rollover \
    --url https://<your-opensearch-url> \
    --username admin \
    --password <admin_password> \
    --data-stream <data_stream_name>;

Run the following to remove indices older than 7 days

python ./opensearch-helpers/data_stream.py clean \
    --url https://<your-opensearch-url> \
    --username admin \
    --password <admin_password> \
    --data-stream <data_stream_name> \
    --retention-period 7;

About

Helpers to manage opensearch db

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages