-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat]Add azure input #14092
Comments
something like that makes sense to me. I wonder if we should even call it "eventhub" ? Can we imagine other "Azure" filebeat modules in the future? |
Thank you for opening this @narph! From the example output I see that you already parsed the resulting JSON. Is this something we can do with a generic mapping? I think that we are currently outputting this JSON as raw text, and parsing happens later in the pipeline. About the name. We have a |
@roncohen , @exekias , thank you for your quick feedback. regarding:
At the moment I am just overriding the kafka input function that creates the beat.Event object and reading all the properties inside the json object. No additional processing of the json is involved. Excuse the messy code, I was just getting the plumbing in place for this POC
|
Thanks! Can you clarify, is there specific functionality here that isn't possible with the existing kafka input / azure module? Is the idea to use the Azure libraries directly, so that it can work on Azure Event Hubs that don't have kafka compatibility enabled, or is this about better / more precise metadata handling, or something else? An Azure-specific input may make sense but I want to be clear about what we're gaining compared to a configuration-based solution. |
hi @faec, a few things here could be gained here, as you mentioned above metadata handling (replacing kafka to eventhub conceptual mapping), and some message pre-processing, like automatically splitting the json messages (users don't have to necessarily know about the 'expand_event_list_from_field' setting). |
closing this, #14882 added the new azure-eventhub input |
2 alternatives created in order to add support of an azure input in x-pack/filebeat
1. Using the kafka input and creating a wrapper around it.
Ex configuration:
Example output:
The POC will try to map the "time" message field and return all properties inside the message.
@roncohen , let me know if this is what you were thinking about.
POC #14093
2. Using the azure event hubs sdk and creating an azure input from scratch:
POC #14882
In progress, will update this ticket with configuration and event details soon.
cc: @exekias
The text was updated successfully, but these errors were encountered: