Skip to content

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

Merged
benwtrent merged 1 commit intoelastic:7.xfrom
benwtrent:feature/data-frame-add-auditor-7x
Mar 23, 2019
Merged

[ML] add auditor to data frame plugin (#40012)#40394
benwtrent merged 1 commit intoelastic:7.xfrom
benwtrent:feature/data-frame-add-auditor-7x

Conversation

@benwtrent
Copy link
Copy Markdown
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
Copy Markdown
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