Skip to content
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] Data Frame Analytics results view: option to drill down from column to dashboard* #150375

Closed
4 tasks done
alvarezmelissa87 opened this issue Feb 6, 2023 · 4 comments
Closed
4 tasks done
Assignees
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml v8.8.0

Comments

@alvarezmelissa87
Copy link
Contributor

alvarezmelissa87 commented Feb 6, 2023

Original meta issue: #131551

Add ability to drill down from a value in a column of the table (typically the field identifying the entity) to a dashboard which is filtered to that value.

Add an Actions column to the table which consists of drilldown actions

Bugs

@alvarezmelissa87 alvarezmelissa87 self-assigned this Feb 6, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@peteharverson peteharverson changed the title [ML] Data Frame Analytics results view: option to drill down from column to visualization [ML] Data Frame Analytics results view: option to drill down from column to visualization* Feb 10, 2023
@alvarezmelissa87
Copy link
Contributor Author

For the second item - View in dashboard filtering for column field/value - not sure what useful link we could add - do you have any thoughts on that @peteharverson?

@peteharverson
Copy link
Contributor

I think this is more around being able to drill down to a dashboard rather than a single visualization, similar to the custom URL functionality we have for anomalies, and the drill down functionality available for visualizations in Dashboard.

@peteharverson peteharverson changed the title [ML] Data Frame Analytics results view: option to drill down from column to visualization* [ML] Data Frame Analytics results view: option to drill down from column to dashboard* Feb 22, 2023
alvarezmelissa87 added a commit that referenced this issue Feb 23, 2023
…o discover (#151482)

## Summary

Related issue: #150375

This PR adds an 'Actions' column to the results data grid and provides a
link to Discover filtering for the row's field/values shown in the
columns.

<img width="1456" alt="image"
src="https://user-images.githubusercontent.com/6446462/219430775-5c6d5f54-c265-4a8d-97cf-1b4da569d33c.png">



### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
alvarezmelissa87 added a commit that referenced this issue Apr 13, 2023
## Summary

Related meta issue: #150375

This PR:
- adds the ability to create custom urls for data frame analytics job -
accessible in the 'Edit' flyout in the jobs list
- adds access to the created custom urls in the data frame analytics
results table (in the 'Actions' column)
- moves the custom url component to a shared directory and is used in
both anomaly detection and data frame analytics



https://user-images.githubusercontent.com/6446462/229624946-b860c13d-19bb-4951-aeac-e7409864b56c.mp4

<img width="1023" alt="image"
src="https://user-images.githubusercontent.com/6446462/229625754-6a9277be-0da3-4f69-8a9a-f4a6fd1b632c.png">



### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
alvarezmelissa87 added a commit that referenced this issue Apr 20, 2023
…pdown reflects Data View update (#155096)

## Summary

Related meta issue: #150375

This PR ensures that when data view is changed, the query entity
dropdown values update to reflect the fields for the newly chosen data
view. This makes it easier for example to build a link to Discover to
view documents in a data view which contains useful contextual data, and
has fields of the same name as those used in the job but which was not
used to create the job e.g. data views which share a common `host.name`
field.

<img width="448" alt="image"
src="https://user-images.githubusercontent.com/7405507/233050903-d423ab1f-b5c7-479e-98a8-c49761eebe3d.png">


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
alvarezmelissa87 added a commit that referenced this issue Apr 24, 2023
…e range in urls (#155337)

## Summary

Related meta issue: #150375

This PR adds a custom time range picker to the custom urls UI for Data
Frame Analytics jobs.
When not selected, the timerange will default to the global timerange -
this is the same behavior as before.

<img width="700" alt="image"
src="https://user-images.githubusercontent.com/6446462/233236292-a2d358c7-c49d-42da-942d-bf6c2d704c46.png">

<img width="804" alt="image"
src="https://user-images.githubusercontent.com/6446462/233236327-7ad19813-707d-4b43-bf15-62dd9c66f595.png">

<img width="657" alt="image"
src="https://user-images.githubusercontent.com/6446462/233236371-c0c50221-da46-4b28-ba3e-4a3a3cabd7f3.png">


### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@alvarezmelissa87
Copy link
Contributor Author

Closing this in lieu of individual issues created for each of the remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Frame Analytics ML data frame analytics features :ml v8.8.0
Projects
None yet
Development

No branches or pull requests

3 participants