Skip to content

skywalking ttl #12417

Answered by wu-sheng
xxlaila asked this question in Q&A
Jul 4, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Is there a mechanism for skywalking to clear the historical data of Elasticsearch that has not been cleared?

Elasticsearch never removed the expired data. OAP does. I am not sure what you are asking here.

In the configuration file, if enableDataKeeperExecutor is set to true, it will be automatically cleared. DataKeeperExecutePeriod: 5, executed every 5 minutes

You don't need to worry about that. Elasticsearch storage provider has its own implementation, which will execute only once per day.

I manually deleted historical data in Elasticsearch, but it was automatically created. What's going on? How can I troubleshoot this issue to avoid it

I guess you removed all indcies? At least the…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@xxlaila
Comment options

@wu-sheng
Comment options

@xxlaila
Comment options

@wu-sheng
Comment options

Answer selected by wu-sheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants