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

[Cloud Security] Collecting telemetry of graph visualization usage #207154

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kfirpeled
Copy link
Contributor

Summary

Collects two events of graph visualization usage

  1. When graph preview is shown - allows to determine how many users ingested data that is graph compliant
  2. When graph investigation component is visible - allows to determine how many users entered the investigation user flow

How to test:

  • Enable the feature flag

kibana.dev.yml:

uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
  • Load mocked data:
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ 
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
  • Make sure you include data from Oct 13 2024. (in the video I use Last year)
  • Run in dev tools:
POST kbn:/internal/telemetry/clusters/_stats?pretty=true&apiVersion=2
{
  "unencrypted": true,
  "refreshCache": true
}
  • Check if the ui_counters were reported

Screenshot 2025-01-19 at 17 35 19

@kfirpeled kfirpeled added release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Jan 19, 2025
@kfirpeled kfirpeled requested review from a team as code owners January 19, 2025 17:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@kfirpeled kfirpeled linked an issue Jan 19, 2025 that may be closed by this pull request
2 tasks
@kfirpeled kfirpeled requested a review from a team as a code owner January 19, 2025 19:58
@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 19, 2025

💔 Build Failed

Failed CI Steps

History

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7746

[✅] x-pack/test/cloud_security_posture_functional/config.ts: 25/25 tests passed.

see run history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add telemetry to count users who's using the graph component
4 participants