-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[WIP] ILM with configuration per index #9616
Conversation
Enable ILM for all indices that have a `rollover_policy` defined, and a valid index name. Add more default rollover policies.
return nil | ||
} | ||
|
||
func (l *Loader) LoadWriteAlias() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported method Loader.LoadWriteAlias should have comment or be unexported
}, nil | ||
} | ||
|
||
func (l *Loader) LoadPolicies() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported method Loader.LoadPolicies should have comment or be unexported
GetVersion() common.Version | ||
} | ||
|
||
type Loader struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type Loader should have comment or be unexported
"github.com/elastic/beats/libbeat/template" | ||
) | ||
|
||
type ESClient interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported type ESClient should have comment or be unexported
Closing this in favour of #10002 |
This PR intends to:
rollover_policy
defined. Add more default policies so they are also usable for APM. ILM changes have been discussed with @ruflin upfront.TODO: add more tests
cc @elastic/apm-server
Example config
metricbeat
:Example config
apm
: