Using fluentd, I want to output only one key data from json data Using fluentd, I want to output only one key data from json data kubernetes kubernetes

Using fluentd, I want to output only one key data from json data


Try the single_value <formater> plugin: https://docs.fluentd.org/formatter/single_value

<match app.tom1>  @type file  path /logs/tom1  <format>    @type single_value    message_key message  </format></match>