Skip to content

Conversation

@zmoog
Copy link
Contributor

@zmoog zmoog commented Nov 7, 2025

Proposed commit message

Add the processor version option to the Raw Events integration v1. With these new options, users can switch from processor v1 (current default) to the processor v2.

This change anticipate the switch to v2 as default processor.

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

  • Install the Raw Events integration (v1)
  • Open "Advanced settings", and set Processor version to v2

Screenshots

CleanShot 2025-11-07 at 12 54 05@2x

@zmoog zmoog self-assigned this Nov 7, 2025
@zmoog zmoog added Integration:azure Azure Logs Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] labels Nov 7, 2025
@zmoog zmoog marked this pull request as ready for review November 7, 2025 12:09
@zmoog zmoog requested review from a team as code owners November 7, 2025 12:09
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport


# Encoding extension
- rename:
field: body.structured
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does this field renamed only for activity_logs? Should the body.structured needs to be renamed in other data streams like sign-in logs, graph_activity logs as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad. I included a couple of things that don't belong here 🤦 I'll clean up the commits.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@muthu-mps, PR content fixed!

@andrewkroh andrewkroh added the Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] label Nov 7, 2025
@zmoog zmoog force-pushed the integrations-raw-events-v2 branch from 63f959e to 1bc4092 Compare November 7, 2025 14:18
@zmoog zmoog force-pushed the integrations-raw-events-v2 branch from 1bc4092 to d5e9f6a Compare November 7, 2025 14:24
Copy link
Contributor

@muthu-mps muthu-mps left a comment

Choose a reason for hiding this comment

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

@zmoog - changelog entry is missing, change looks good to me otherwise!

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @zmoog

Comment on lines +78 to +88
#
# Processor v2 only settings
#
- name: processor_version
type: text
title: Processor version
multi: false
required: false
show_user: false
default: v1
description: "The processor version that the integration should use. Possible values are `v1` and `v2` (preview). \nThe v2 event hub processor is in preview, so using the v1 processor is recommended for typical use cases.\nDefault is `v1`."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
#
# Processor v2 only settings
#
- name: processor_version
type: text
title: Processor version
multi: false
required: false
show_user: false
default: v1
description: "The processor version that the integration should use. Possible values are `v1` and `v2` (preview). \nThe v2 event hub processor is in preview, so using the v1 processor is recommended for typical use cases.\nDefault is `v1`."
- name: processor_version
type: text
title: Processor version
multi: false
required: false
show_user: false
default: v1
description: "The processor version that the integration should use. Possible values are `v1` and `v2` (preview). \nThe v2 event hub processor is in preview, so using the v1 processor is recommended for typical use cases.\nDefault is `v1`."
#
# Processor v2 only settings
#
Suggested change
#
# Processor v2 only settings
#
- name: processor_version
type: text
title: Processor version
multi: false
required: false
show_user: false
default: v1
description: "The processor version that the integration should use. Possible values are `v1` and `v2` (preview). \nThe v2 event hub processor is in preview, so using the v1 processor is recommended for typical use cases.\nDefault is `v1`."
#
# Processor v2 only settings
#
- name: processor_version
type: text
title: Processor version
multi: false
required: false
show_user: false
default: v1
description: "The processor version that the integration should use. Possible values are `v1` and `v2` (preview). \nThe v2 event hub processor is in preview, so using the v1 processor is recommended for typical use cases.\nDefault is `v1`."

Copy link
Contributor

@kaiyan-sheng kaiyan-sheng left a comment

Choose a reason for hiding this comment

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

It looks good to me! Lets add a changelog and it's good to go!

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

Labels

Integration:azure Azure Logs Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants