-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
7fd3590
commit 7ebcfa4
Showing
2 changed files
with
26 additions
and
6 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