Skip to content

Conversation

@gpop63
Copy link
Contributor

@gpop63 gpop63 commented Oct 16, 2025

Proposed commit message

This PR adds the new network_health ds.

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

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@gpop63 gpop63 self-assigned this Oct 16, 2025
@gpop63 gpop63 added the Integration:cisco_meraki_metrics Cisco Meraki Metrics label Oct 16, 2025
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@gpop63 gpop63 marked this pull request as ready for review October 16, 2025 08:41
@gpop63 gpop63 requested a review from a team as a code owner October 16, 2025 08:41
@andrewkroh andrewkroh added documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Oct 16, 2025
Co-authored-by: Mykola Kmet <mykola.kmet@elastic.co>
@gpop63
Copy link
Contributor Author

gpop63 commented Oct 23, 2025

/test

@@ -0,0 +1,22 @@
metricsets: ["network_health"]
apiBaseURL: {{apiBaseUrl}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just double checking the capitalisation ;)

@@ -0,0 +1,23 @@
- name: host
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't all this in the default ECS mapping?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried removing them but I get this error when building the package:

FAILURE DETAILS: cisco_meraki_metrics/network_health Verify sample_event.json: [0] field "host.ip" is not normalized as expected: expected array, found "172.21.0.4" (string) [1] field "host.mac" is not normalized as expected: expected array, found "02-42-AC-15-00-04" (string) 
@@ -0,0 +1,12 @@
- name: data_stream.type
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all these are also in the ECS mappings, we can remove this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried removing the base-fields file but when building the package I got this error:

Error: building package failed: invalid content found in built zip package: found 4 validation errors: 1. expected field "data_stream.namespace" with type "constant_keyword" not found in datastream "network_health" 2. expected field "@timestamp" with type "date" not found in datastream "network_health" 3. expected field "data_stream.type" with type "constant_keyword" not found in datastream "network_health" 4. expected field "data_stream.dataset" with type "constant_keyword" not found in datastream "network_health" 

hey @jsoriano 👋 do you know if this will be fixed in the future or did I miss something when removing the fields?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These cannot be removed from integration packages yet. We are removing this requirement from input packages in next elastic-package version, but it is soon to remove from integration packages.

- name: organization_id
type: keyword
dimension: true
- name: network
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is missing lots of fields, and some of the fields at the top level are named incorrectly.

we have organization_id, network_id, network_name at the top level. in addition i see in the beats code:

usage_summary.received.bytes usage_summary.sent.bytes jitter_summaries.jitter_avg jitter_summaries.jitter_max jitter_summaries.jitter_min jitter_summaries.receiver_uplink jitter_summaries.sender_uplink latency_summaries.latency_avg.ms latency_summaries.latency_max.ms latency_summaries.latency_min.ms latency_summaries.receiver_uplink latency_summaries.sender_uplink loss_percentage_summaries.loss_avg.pct loss_percentage_summaries.loss_max.pct loss_percentage_summaries.loss_min.pct loss_percentage_summaries.receiver_uplink loss_percentage_summaries.sender_uplink mos_summaries.mos_avg mos_summaries.mos_max mos_summaries.mos_min mos_summaries.receiver_uplink mos_summaries.sender_uplink 
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@tommyers-elastic tommyers-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few things to address

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @gpop63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Integration:cisco_meraki_metrics Cisco Meraki Metrics Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

7 participants