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

o365_metrics: Add new data-streams. #12256

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

Conversation

kcreddy
Copy link
Contributor

@kcreddy kcreddy commented Jan 8, 2025

Proposed commit message

Add groups_activity_group_detail, onedrive_usage_account_detail, teams_user_activity_user_detail, and viva_engage_groups_activity_group_detail data-streams.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

How to test this PR locally

Pipeline tests for the package should pass.

Run: cd packages/o365_metrics && eval "$(elastic-package stack shellinit)" && elastic-package test pipeline --generate -v
Returns:

--- Test results for package: o365_metrics - START ---
╭──────────────┬──────────────────────────────────────────┬───────────┬───────────────────────────────────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE      │ DATA STREAM                              │ TEST TYPE │ TEST NAME                                                             │ RESULT │ TIME ELAPSED │
├──────────────┼──────────────────────────────────────────┼───────────┼───────────────────────────────────────────────────────────────────────┼────────┼──────────────┤
│ o365_metrics │ active_users                             │ pipeline  │ (ingest pipeline warnings test-activeusers.json)                      │ PASS   │ 322.274917ms │
│ o365_metrics │ active_users                             │ pipeline  │ test-activeusers.json                                                 │ PASS   │  65.105458ms │
│ o365_metrics │ groups_activity_group_detail             │ pipeline  │ (ingest pipeline warnings test-groups-activity-group-detail.log)      │ PASS   │ 336.316625ms │
│ o365_metrics │ groups_activity_group_detail             │ pipeline  │ test-groups-activity-group-detail.log                                 │ PASS   │  78.447375ms │
│ o365_metrics │ mailbox_usage                            │ pipeline  │ (ingest pipeline warnings test-mailbox-quota-status.json)             │ PASS   │ 313.756875ms │
│ o365_metrics │ mailbox_usage                            │ pipeline  │ (ingest pipeline warnings test-mailbox-usage-detail.json)             │ PASS   │ 293.992834ms │
│ o365_metrics │ mailbox_usage                            │ pipeline  │ test-mailbox-quota-status.json                                        │ PASS   │  48.601875ms │
│ o365_metrics │ mailbox_usage                            │ pipeline  │ test-mailbox-usage-detail.json                                        │ PASS   │  50.098084ms │
│ o365_metrics │ onedrive_usage                           │ pipeline  │ (ingest pipeline warnings test-onedrive-usageaccountcounts.json)      │ PASS   │ 317.520958ms │
│ o365_metrics │ onedrive_usage                           │ pipeline  │ (ingest pipeline warnings test-onedrive-usagefilecounts.json)         │ PASS   │ 330.758458ms │
│ o365_metrics │ onedrive_usage                           │ pipeline  │ (ingest pipeline warnings test-onedrive-usagestorage.json)            │ PASS   │ 340.638583ms │
│ o365_metrics │ onedrive_usage                           │ pipeline  │ test-onedrive-usageaccountcounts.json                                 │ PASS   │  76.868291ms │
│ o365_metrics │ onedrive_usage                           │ pipeline  │ test-onedrive-usagefilecounts.json                                    │ PASS   │  51.509333ms │
│ o365_metrics │ onedrive_usage                           │ pipeline  │ test-onedrive-usagestorage.json                                       │ PASS   │  47.236542ms │
│ o365_metrics │ onedrive_usage_account_detail            │ pipeline  │ (ingest pipeline warnings test-onedrive-usage-account-detail.log)     │ PASS   │   288.0715ms │
│ o365_metrics │ onedrive_usage_account_detail            │ pipeline  │ test-onedrive-usage-account-detail.log                                │ PASS   │  62.722625ms │
│ o365_metrics │ outlook_activity                         │ pipeline  │ (ingest pipeline warnings test-metrics.json)                          │ PASS   │ 347.411875ms │
│ o365_metrics │ outlook_activity                         │ pipeline  │ test-metrics.json                                                     │ PASS   │  49.610333ms │
│ o365_metrics │ outlook_app_usage                        │ pipeline  │ (ingest pipeline warnings test-metrics.json)                          │ PASS   │ 347.814083ms │
│ o365_metrics │ outlook_app_usage                        │ pipeline  │ test-metrics.json                                                     │ PASS   │  53.328042ms │
│ o365_metrics │ teams_user_activity_user_detail          │ pipeline  │ (ingest pipeline warnings test-teams-user-activity-user-detail.log)   │ PASS   │ 306.763375ms │
│ o365_metrics │ teams_user_activity_user_detail          │ pipeline  │ test-teams-user-activity-user-detail.log                              │ PASS   │ 109.606708ms │
│ o365_metrics │ viva_engage_groups_activity_group_detail │ pipeline  │ (ingest pipeline warnings test-viva-engage-groups-activity-group.log) │ PASS   │ 311.525917ms │
│ o365_metrics │ viva_engage_groups_activity_group_detail │ pipeline  │ test-viva-engage-groups-activity-group.log                            │ PASS   │  75.047166ms │
╰──────────────┴──────────────────────────────────────────┴───────────┴───────────────────────────────────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: o365_metrics - END   ---
Done

Related issues

Screenshots

dashboard-onedrive-usage-account-detail dashboard-teams-user-activity-user-detail dashboard-viva-engage-group-activity-group-detail dashboard-office365-group-activity-group-detail

@kcreddy kcreddy changed the title o365_metric: Add viva_engage_groups_activity data-stream o365_metric: Add viva_engage_groups_activity, data-stream Jan 8, 2025
@kcreddy kcreddy changed the title o365_metric: Add viva_engage_groups_activity, data-stream o365_metric: Add viva_engage_groups_activity, data-streams Jan 8, 2025
@andrewkroh andrewkroh added the Integration:o365_metrics Microsoft Office 365 Metrics label Jan 8, 2025
@kcreddy kcreddy changed the title o365_metric: Add viva_engage_groups_activity, data-streams o365_metric: Add viva_engage_groups_activity_group_detail, teams_user_activity_user_detail data-streams Jan 11, 2025
@kcreddy kcreddy changed the title o365_metric: Add viva_engage_groups_activity_group_detail, teams_user_activity_user_detail data-streams o365_metrics: Add viva_engage_groups_activity_group_detail, teams_user_activity_user_detail data-streams Jan 11, 2025
@andrewkroh andrewkroh added the dashboard Relates to a Kibana dashboard bug, enhancement, or modification. label Jan 11, 2025
@kcreddy kcreddy changed the title o365_metrics: Add viva_engage_groups_activity_group_detail, teams_user_activity_user_detail data-streams o365_metrics: Add viva_engage_groups_activity_group_detail, teams_user_activity_user_detail, onedrive_usage_account_detail data-streams Jan 12, 2025
@kcreddy kcreddy changed the title o365_metrics: Add viva_engage_groups_activity_group_detail, teams_user_activity_user_detail, onedrive_usage_account_detail data-streams o365_metrics: Add groups_activity_group_detail, onedrive_usage_account_detail, teams_user_activity_user_detail, and viva_engage_groups_activity_group_detail data-streams. Jan 12, 2025
@kcreddy kcreddy changed the title o365_metrics: Add groups_activity_group_detail, onedrive_usage_account_detail, teams_user_activity_user_detail, and viva_engage_groups_activity_group_detail data-streams. o365_metrics: Add new data-streams. Jan 12, 2025
@kcreddy kcreddy added the Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations] label Jan 12, 2025
@kcreddy kcreddy marked this pull request as ready for review January 12, 2025 19:59
@kcreddy kcreddy requested a review from a team as a code owner January 12, 2025 19:59
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@kcreddy kcreddy self-assigned this Jan 12, 2025
@kcreddy kcreddy requested a review from a team January 12, 2025 20:03
@kcreddy kcreddy added the enhancement New feature or request label Jan 12, 2025
@andrewkroh andrewkroh added the Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] label Jan 12, 2025
@elasticmachine
Copy link

💔 Build Failed

Failed CI Steps

History

cc @kcreddy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard Relates to a Kibana dashboard bug, enhancement, or modification. enhancement New feature or request Integration:o365_metrics Microsoft Office 365 Metrics Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Team:Security-Service Integrations Security Service Integrations Team [elastic/security-service-integrations]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[o365] Add additional reports to Office 365 integration
3 participants