-
Notifications
You must be signed in to change notification settings - Fork 425
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
Shared knowledge base on mapping log events to Elastic Common Schema #601
Comments
Tagging @jsvd because we talked about this at Elastic on Tour. |
hi @Duchadian I'm moving this to elastic/ecs, thanks for opening the issue :) |
Hi folks, the closest thing we have to this right now is opening an issue on the ECS repo, with your mapping, and tagging it with the label "mapping". Ideally the mapping can be shared via a public web spreadsheet, but it can be shared another way too. Opening such issues will allow us to provide feedback and thoughts on what needs adjustments, explain edge cases that apply to your situation & so on. These issues and discussions are then available for the community to look at, see the discussion, the thought process & so on. Does that help for what you had in mind? |
Hi @webmat, that's sort of what I had in mind. From my perspective, what ECS lacks is a centralised repo / website / something where the community (in collaboration with Elastic) can maintain parsers and mappings to ECS for all kinds of log sources across various versions of the log source. This would ensure that ECS can be more easily adopted for all kinds of log sources by users, vendors, and Elastic itself. What most of the issues with the mapping label are missing is the original event. That way, it is difficult to see which part of the original log maps to which field in ECS. A side-by-side of the original event, the parsed event, and the event mapped to ECS would be a way to make this clearer in my opinion. Otherwise, it is more difficult to get the semantics of the message right in the mapping from any new log source to ECS. I hope it is at least sort of clear what I mean. |
I second this ask! Wikipedia could handle it, but I'd rather have it on GitHub where we can find it easily, and contribute to it. |
A few things converged recently, and it crystallized an idea I think will be in line with what you have in mind. I'm hoping we can start on this and get a POC before year end 🤞 CSV mapping format The gist of the idea is to formalize a small CSV-based format (3-6 column names) where one can capture their planned mapping. I would hope to keep it simple enough that people can get the gist of it quickly, but still be precise enough that the files can be leveraged programmatically. Having this based on CSV would have a few interesting properties:
The pipelines resulting from these CSV mapping files would not be feature complete, of course. Since the goal of this CSV format is to make it easy to get started, it wouldn't be turing-complete. But the generated pipeline would still be a great start. So that's the gist of this CSV format. Micro-pipelines Kind of related to this, we've been gradually collecting ideas of "micro-pipelines" that are made possible, once you have predictable field names. Here's a few examples:
You can check out #181 for the full list of such ideas for micro-pipelines. Setting expectations What I'm talking about here is coming out with a public POC, as an experiment. This will not be officially supported, at least initially. However I think these two experiments could simplify knowledge exchange around ECS within the community. And if the experiments prove useful, perhaps they can take root as I envision them, or lead to something bigger along the same lines :-) |
Issue / roadmap suggestion posted here at the suggestion of some of the devs.
Elastic Common Schema has provided a unified format for logs ingested using Beats in those cases where a module for parsing and mapping the events in the log is available. However, it can be difficult to parse and map events to ECS for the log sources for which a module is not available.
It would be nice to have a shared knowledge base for previous log sources that have been mapped to ECS. This would make converting new log sources to ECS significantly easier, as there would be a central location with examples of previous log sources that have been converted to ECS. Right now, that is scattered across various repos where it is relatively difficult to find.
The knowledge base could take a similar form to the grok-patterns repo.
The text was updated successfully, but these errors were encountered: