Skip to content

[ML] Adds created_by field to auditbeat and APM data recognizer jobs - #33863

Merged
peteharverson merged 1 commit into
elastic:masterfrom
peteharverson:ml-modules-created-by
Mar 27, 2019
Merged

peteharverson merged 1 commit into
elastic:masterfrom
peteharverson:ml-modules-created-by

Conversation

@peteharverson

@peteharverson peteharverson commented Mar 26, 2019 •

Copy link
Copy Markdown
Contributor

Summary

Adds a created_by property to the custom_settings field for the job configurations in the APM Transaction and Auditbeat Docker Processes data recognizer modules, which had been left off in the original configurations. This setting is used to identify the job wizard that was used to create the job.

Also edited the value of the created_by field for the Auditbeat Host Processes to make it consistent with the value of the module ID.

Checklist

For maintainers

@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@alvarezmelissa87 alvarezmelissa87 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⚡️

@walterra walterra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

},
"custom_settings": {
"created_by": "ml-module-auditd-hosts",
"created_by": "ml-module-auditbeat-process-hosts",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing this makes life hard for the telemetry repo because jobs will exist in the wild that have a value of ml-module-auditd-hosts, so then the telemetry repo will have to cope with both.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it looks like ml-module-auditd-hosts wasn't in 6.7 - is that correct? If so, I'd be happy to change this provided this PR gets backported to 7.0 in time for 7.0.0-rc2. The problem only arises if people will have jobs existing in clusters that get upgraded to 7.1 containing ml-module-auditd-hosts.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will go with ml-module-auditbeat-process-hosts and ml-module-auditbeat-process-docker and backport to 7.0.

@peteharverson
peteharverson merged commit 0603f7a into elastic:master Mar 27, 2019
@peteharverson
peteharverson deleted the ml-modules-created-by branch March 27, 2019 11:05
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
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.

5 participants