out_es: trace log payload for HTTP statuses > 201 (#1661)
out_es: trace log payload for HTTP statuses > 201 (#1661)

This patch introduces logging of response payloads from the server when
the status code is not 200 or 201.

Signed-off-by: Even Holthe <f7a73cde201590b05513ad77337bb6ba7edf27f1@bekk.no>
fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit