Skip to content

[ML] add auditor to data frame plugin (#40012) #40394

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

Merged
merged 1 commit into from
Mar 23, 2019

Conversation

benwtrent
Copy link
Member

This adds a DataFrameAuditor, a index for audit messages, and an audit messages class.

I took the basic functionality found in the ML Auditor, and created two new abstract classes in
org.elasticsearch.xpack.core.common.notifications for consolidating what would be commonalities between any plugin using an Auditor-like system.

I opted to simply copy the Level class found in the ml notifications package. I thought it best do any refactoring for ML in a different PR.

As for what to audit and when, that question is still up in the air, but at least after this PR that functionality will be available.

* [Data Frame] add auditor

* Adjusting Level, Auditor, and message to address pr comments

* Addressing PR comments
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@benwtrent benwtrent merged commit a30bf27 into elastic:7.x Mar 23, 2019
@benwtrent benwtrent deleted the feature/data-frame-add-auditor-7x branch March 23, 2019 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants