-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the description of esCleaner.py from plugin/storage/es/README.…
…md (#5891) esCleaner.py no longer exists, but README.md still has the relevant content, so I've made some adjustments. --------- Signed-off-by: 王然 <[email protected]> Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
2b9a9b8
commit 0339b4b
Showing
2 changed files
with
25 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# es-index-cleaner | ||
|
||
It is common to only keep observability data for a limited time. | ||
However, Elasticsearch does no support expiring of old data via TTL. | ||
To help with this task, `es-index-cleaner` can be used to purge | ||
old Jaeger indices. For example, to delete indixes older than 14 days: | ||
|
||
``` | ||
docker run -it --rm --net=host -e ROLLOVER=true \ | ||
jaegertracing/jaeger-es-index-cleaner:latest \ | ||
14 \ | ||
http://localhost:9200 | ||
``` | ||
|
||
Another alternative is to use [Elasticsearch Curator][curator]. | ||
|
||
[curator]: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html |
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