Plugin http-log config.header parameter

Hi, need help with configuring config.headers http-log plugin. I’m trying to add Authorization header (for auth with apikey to elasticsearch endpoint), but always got an error:

{"message":"schema violation (config.headers: expected a map)","name":"schema violation","fields":{"config":{"headers":"expected a map"}},"code":2}

What exactly kind of map needed? Did try several kinds of map, but no luck.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ