Skip to content

carbonblack_edr,checkpoint,cisco_umbrella,gcp,zeek: remove duplicate fields and fix types - #4339

Merged
efd6 merged 2 commits into
elastic:mainfrom
efd6:duplicated_fields_bis
Sep 29, 2022
Merged

carbonblack_edr,checkpoint,cisco_umbrella,gcp,zeek: remove duplicate fields and fix types#4339
efd6 merged 2 commits into
elastic:mainfrom
efd6:duplicated_fields_bis

Conversation

@efd6

@efd6efd6 commented Sep 29, 2022

Copy link
Copy Markdown
Contributor

What does this PR do?

This is a second tranch of fixing duplicate fields in preparation for the ECS 8.5 update.

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6efd6 self-assigned this Sep 29, 2022
@efd6
efd6force-pushed the duplicated_fields_bis branch from 868f7c5 to 190e704CompareSeptember 29, 2022 07:09
@efd6
efd6 marked this pull request as ready for review September 29, 2022 07:10
@efd6
efd6 requested review from a team as code ownersSeptember 29, 2022 07:10

@ShourieGShourieG left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@efd6
efd6force-pushed the duplicated_fields_bis branch from 190e704 to e2f1af8CompareSeptember 29, 2022 07:36
These were necessary to allow the v2 duplication checks, but break the tests.
@elasticmachine

elasticmachine commented Sep 29, 2022

Copy link
Copy Markdown

🚀 Benchmarks report

Package checkpoint 👍(0) 💚(0) 💔(1)

Expand to view
Data streamPrevious EPSNew EPSDiff (%)Result
firewall793.65485.67-307.98 (-38.81%)💔

Package cisco_umbrella 👍(0) 💚(0) 💔(1)

Expand to view
Data streamPrevious EPSNew EPSDiff (%)Result
log12195.128928.57-3266.55 (-26.79%)💔

Package zeek 👍(27) 💚(11) 💔(5)

Expand to view
Data streamPrevious EPSNew EPSDiff (%)Result
connection22727.2715873.02-6854.25 (-30.16%)💔
snmp2500020000-5000 (-20%)💔
weird28571.4322222.22-6349.21 (-22.22%)💔
x50911627.918196.72-3431.19 (-29.51%)💔
dhcp21276.616393.44-4883.16 (-22.95%)💔

To see the full report comment with /test benchmark fullreport

@elasticmachine

elasticmachine commented Sep 29, 2022

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline ViewTest ViewChangesArtifactspreviewpreview

Expand to view the summary

Build stats

  • Start Time: 2022-09-29T08:04:53.215+0000

  • Duration: 72 min 46 sec

Test stats 🧪

TestResults
Failed0
Passed328
Skipped0
Total328

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

elasticmachine commented Sep 29, 2022

Copy link
Copy Markdown

🌐 Coverage report

NameMetrics % (covered/total)Diff
Packages100.0% (51/51)💚
Files96.667% (87/90)👎 -0.752
Classes96.667% (87/90)👎 -0.752
Methods87.194% (783/898)👎 -2.752
Lines92.711% (11728/12650)👍 1.348
Conditionals100.0% (0/0)💚

@endorama

Copy link
Copy Markdown
Contributor

@efd6 changes looks good to me. We are adding other data streams (i.e. #4325) how do we make sure we are not introducing changes not compatible with ECS@8.5.0?

@endoramaendorama left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

GCP changes looks good to me!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@efd6@elasticmachine@endorama@ShourieG