-
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 modules: Always send message by default #14708
Comments
We also have |
I've done some testing, sending the NASA access logs Jul 95 and tweaking apache pipeline to allow for keeping
After force merge:
It sounds to me that we should try to do some effort to store only one of @weltenwort have we considered in the past using |
Noting also a previous conversation about this very same thing: #8448 |
Seems like we also have a field |
Ignoring the redundancy of The full original would be valuable for lossless reindexing, which we don't have a UI for but probably want to have at some point.
@exekias that's an interesting idea, which I haven't heard mentioned before. It should't be a problem from the UI perspective, but I wonder how we would reasonably integrate that into ECS. |
Just checked the status of existing filesets. 35 out of 91 are reporting a message field, many of them don't contain the original message, but a subset of it:
One possible option to avoid big breaking changes is:
Thoughts? |
This is what the Logs UI already does and it seems to be very unintuitive for our users. It also doesn't scale and makes search/highlighting very complicated.
As I wrote before, the UI wants to display the message without the timestamp, which is handled separately. As such being able to rely on a sensible |
Ok, I had a good chat with @weltenwort, we discussed some things:
So I think the safe play here is the simplest (as usual):
|
Relates: elastic/ecs#841 |
Hi! We're labeling this issue as |
Currently Kibana Logs UI needs a mechanism to rebuild the original message from events coming from Filebeat modules. This doesn't scale very well, as every time we add/update a new integration, changes need to happen on the Kibana side to support this.
For this reason, in order to provide a good experience, we can change the current behavior of modules to always send the original log line. This would mean:
Add a new
keep_message
setting to all modules (default:false
). If user configures it totrue
, do not drop the original message like we do today:beats/filebeat/module/nginx/access/ingest/default.json
Lines 77 to 80 in 1db397d
In 8.0 switch the default to true
The text was updated successfully, but these errors were encountered: