-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SIEM] Histogram enhancement #54544
[SIEM] Histogram enhancement #54544
Conversation
…o histogram-enhacement
Pinging @elastic/siem (Team:SIEM) |
jenkins test this please |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
x-pack/legacy/plugins/siem/public/components/matrix_histogram/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/matrix_histogram/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/matrix_histogram/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/matrix_histogram/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/hosts/navigation/authentications_query_tab_body.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/alerts_viewer/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/alerts_viewer/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/alerts_viewer/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/matrix_histogram/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/matrix_histogram/utils.ts
Outdated
Show resolved
Hide resolved
> | ||
): variable is GetNetworkDnsQuery.Variables => { | ||
return ( | ||
variable.isHistogram !== undefined && |
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.
would the addition of a dns type that enabled a simple variable.isDNS
be useful 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.
I added a prop isDNSHistogram
but haven't changed this part successfully, as couldn't make typescript happy... Will put that as todos in my next PR.
x-pack/legacy/plugins/siem/public/containers/matrix_histogram/utils.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/matrix_histogram/utils.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
@elasticmachine merge upstream |
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.
Thanks @angorayc , this is exactly what we needed for the Overview! 🙏
Works great locally
LGTM 🚀
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* generic histogram container * generic histogram container * rename params * fix inspect * fix update with timerange * clean up props * send stackByField to server side * fix inspect button * helper node xavier * fix DNS histogram * fix DNS query params * move utils for fetch data into containers * cleanup graphql template on client side * rename grqphql data * i18n * fix type * fix i18n * fix i18n * fix subtitle * fix subtitle * fix i18n * fix for reviews * fix types * remove unused test * fix integration Co-authored-by: Xavier Mouligneau <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
* generic histogram container * generic histogram container * rename params * fix inspect * fix update with timerange * clean up props * send stackByField to server side * fix inspect button * helper node xavier * fix DNS histogram * fix DNS query params * move utils for fetch data into containers * cleanup graphql template on client side * rename grqphql data * i18n * fix type * fix i18n * fix i18n * fix subtitle * fix subtitle * fix i18n * fix for reviews * fix types * remove unused test * fix integration Co-authored-by: Xavier Mouligneau <[email protected]> Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Xavier Mouligneau <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
* generic histogram container * generic histogram container * rename params * fix inspect * fix update with timerange * clean up props * send stackByField to server side * fix inspect button * helper node xavier * fix DNS histogram * fix DNS query params * move utils for fetch data into containers * cleanup graphql template on client side * rename grqphql data * i18n * fix type * fix i18n * fix i18n * fix subtitle * fix subtitle * fix i18n * fix for reviews * fix types * remove unused test * fix integration Co-authored-by: Xavier Mouligneau <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
Summary
This is part of https://github.com/elastic/siem-team/issues/484
Support legend Position: MatrixHistogram now takes
legendPosition
, we can applyPosition
enum from @elastic/charts to change it.Support
stackByOptions
for dropdown list, example options:Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] Documentation was added for features that require explanation or tutorials[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
[ ] This was checked for breaking API changes and was labeled appropriately[ ] This includes a feature addition or change that requires a release note and was labeled appropriately