-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[ML] Fixing results for unknown fields #24577
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
[ML] Fixing results for unknown fields #24577
Conversation
|
Pinging @elastic/ml-ui |
| return field; | ||
| } else { | ||
| // field is not in the field stats | ||
| // this could be a text field or a field which the endpoint has |
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.
It should be "this could be the message field for a semi-structured log file or a field which the endpoint has"
| return { | ||
| name: fName, | ||
| name: name, | ||
| type, |
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.
Nit 🕸 could be just name
alvarezmelissa87
left a comment
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.
LGTM 👍
walterra
left a comment
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.
LGTM
peteharverson
left a comment
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.
One question. Otherwise LGTM
| EuiBetaBadge, | ||
| } from '@elastic/eui'; | ||
|
|
||
| export function ExperimentalBadge({ tooltipContent }) { |
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.
Could you apply a className directly to EuiBetaBadge to achieve the same result here?
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.
the css would need to be in a shared location. so i decided it would be easier to just create a shared component instead to make it obvious that it's being overridden.
💚 Build Succeeded |
* [Ml] Fixing results for known fields * renaming known-type to unknown * correcting comments * tiny refactor
* [Ml] Fixing results for known fields * renaming known-type to unknown * correcting comments * tiny refactor
Fixes issues with the displaying of fields.
field_statsand so are then missing from the field list.Also tweaks the style of the experimental badge to make it smaller and less intrusive.