Page MenuHomePhabricator

Use definitive field naming during grok parsing instead of renaming later (in mapping)
Closed, ResolvedPublic

Description

Currently there are some field renaming in the result_map mapping, some also enforcing the number type on the field.

This could be simplified (and maybe optimized) using the actual (definitive) field name in grok pattern and using type hints.

Event Timeline

Change #1023969 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos:haproxy_cache: field renaming moved to grok pattern

https://gerrit.wikimedia.org/r/1023969

Change #1023969 merged by Fabfur:

[operations/puppet@production] benthos:haproxy_cache: field renaming moved to grok pattern

https://gerrit.wikimedia.org/r/1023969

Fabfur triaged this task as Low priority.