<filter kubernetes.var.log.containers.mux-mux.mux-mux_**.mux>
  @type record_transformer
  enable_ruby
  <record>
    # mux always runs with USE_JOURNAL=true, so make sure CONTAINER_NAME and
    # CONTAINER_ID_FULL are set correctly for the k8s meta plugin
    # mux_namespace_name added in input-post-forward-mux.conf
    CONTAINER_NAME ${record.fetch('CONTAINER_NAME', 'k8s_mux-mux.mux-mux_mux_' + record['mux_namespace_name'] + '_mux_01234567')}
    CONTAINER_ID_FULL ${record.fetch('CONTAINER_ID_FULL', '0123456789012345678901234567890123456789012345678901234567890123')}
  </record>
</filter>
