Conversation
There was a problem hiding this comment.
We may want to make use of ECS here https://github.com/elastic/ecs#-destination-fields
There was a problem hiding this comment.
I have given it a try but I got quite a lot of small blocking issues so I'm gonna continue with the old naming yet.
There was a problem hiding this comment.
Could you use ECS names under haproxy namespace in any case? (it'd be haproxy.destination.port and haproxy.destination.ip here)
There was a problem hiding this comment.
Other fields in this file start with the name of the metric, we should probably open another PR to rephrase them for consistency, @sayden can you take care of this?
There was a problem hiding this comment.
I wouldn't namespace these common fields under default.
There was a problem hiding this comment.
Client IP could be a public one, so geoip data is filled.
There was a problem hiding this comment.
I guess this is that no server name was provided in the config? I guess that for this case we could leave this field empty, or even remove it.
It'd be nice to have also an example of a log line with a proper server name.
There was a problem hiding this comment.
In other modules, message is removed after it is parsed, we may want to do the same on this module.
5120f9f to
3e82444
Compare
3e82444 to
98f5f97
Compare
|
Continues here #8637 |
Refer to this Issue for more details elastic/integrations#3250
WIP of the TCP log format that requires #8428 to be merged first