-
Notifications
You must be signed in to change notification settings - Fork 436
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
[azure_logs] Add Custom Azure Logs input package #11552
base: main
Are you sure you want to change the base?
Conversation
It seems all other integrations use Elastic-2.0
With this pipeline override, users can run a custom pipeline only for a specific input package installation.
All other input packages seem to use this logo.
It seems we cannot build OOTB routing into an input package
I don't think we can (or want) offer this option.
cc @lalit-satapathy for the ownership topic in the reviewer's checklist |
Co-authored-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com>
Co-authored-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com>
- it's consistent with the equivalent AWS integration - end users a probably not aware of the input vs. integration
Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com>
Co-authored-by: muthu-mps <101238137+muthu-mps@users.noreply.github.com>
It seems we always use the name to refer to the service name, so capitalizing it seems the right choice.
My current proposal is:
Then, move to Azure Logs and update it to use only one input. WDYT? |
There is a full round of updates, and the PR is ready for another round of review.
|
One more point to add here, The Azure Eventhub input can get deprecated once the input package is moved to GA. |
- observability | ||
conditions: | ||
kibana: | ||
version: "^8.13.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is a new package, should we use the latest version of the stack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are not offering input v2 support in this version, I thought we could:
- support 8.13+ users during the technical preview/beta phase (0.x)
- ship a GA version (1.0) shortly after
- Then, ship an update (1.1) requiring 8.15+ with input v2 support.
WDYT?
Yep, I agree. |
@zmoog - Do you think we need to use the build.yml file to add ECS reference? Not sure if this is not the case for the newer integrations after @ecsmappings changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some editing suggestions, otherwise the text LGTM.
|
||
The integration sets up a dedicated index template named `logs-mydataset` with the `logs-mydataset-*` index pattern. You can then customize it using a custom pipeline and custom mappings. | ||
|
||
Custom Logs integrations give you all the flexibility you need to configure the integration to your needs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Custom Logs a name for general integrations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, in this case, I am referring to integration or input packages designed to collect custom logs. With "custom logs", I mean any log format (usually JSON document) that may come from any source.
Maybe I should focus on the Custom Azure Logs integration only and change this phrase into:
The Custom Azure Logs integration gives you all the flexibility you need to collect, parse, and map log events to your needs.
WDYT?
@zmoog
Are they capitalized when they refer to something specific and not capitalized when referring to something generic? You might want to double-check when capitalization applies. |
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
Co-authored-by: Arianna Laudazzi <46651782+alaudazzi@users.noreply.github.com>
I'll review the doc to see if I am not applying the rules consistently, but here are the rules I'm using now (please highlight any wrong usage!) Consumer group: It's a generic term, so I capitalize "Consumer" only if required by the context (start of a sentence or heading). Agents: I capitalize it when it means "Elastic Agent" and I leave it lowercase when it's the generic term. Should I use the full name ("Elastic Agent(s)") to avoid ambiguity? event hub: see the comment #11552 (comment) |
That's a good point. I missed the |
I am using https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features as a reference for naming all the things Event Hubs
Quality Gate failedFailed conditions |
💚 Build Succeeded
History
cc @zmoog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
The top level fields like resource_id
can be parsed from the message field. This is expected to be available in all the events. This can be taken in next release.
I didn't want to make any assumptions about the message structure. From public issues, I learned that users use the generic integration to ingest non-Azure log payloads like IoT data or third-party application logs (for example, MuleSoft and ConfluentCloud logs). But we can, of course, revisit this and add standard Azure field mappings. |
@muthu-mps, do you confirm your team |
Proposed commit message
Add a new input package to collect custom logs from Event Hub.
This input package is a thin wrapper on the
azure-eventhub
input that allows users to receive JSON log events from an event hub and transform them using custom pipelines and mappings.Users should use this input package instead of generic integration in the Azure Logs integration.
Checklist
changelog.yml
file.[ ] I have verified that any added dashboard complies with Kibana's Dashboard good practicesAuthor's Checklist
Reviewer's Checklist
Please review the following items and, ideally, leave your thoughts in the comments.
message
field. This gives users all the options to transform the log event in the custom pipeline. Do you have any suggestions?elastic/obs-ds-hosted-services
. Should we set the ownership toelastic/obs-infraobs-integrations
?Related issues
Screenshots