Open
Description
Logstash information:
8.14.3
Steps to reproduce:
Setup a pipeline, and configure a codec with options, rather than just as a "vanilla" codec:
input {
stdin {
codec => json { id => "json" }
}
}
curl http://localhost:9601/_node/stats | jq '.pipelines.main.plugins.codecs.[0]'
{
"id": "json",
"name": "json"
}
Defining the same config without an option
input {
stdin {
codec => json
}
}
, the stats show up as expected:
{
"id": "json_792305d6-0a67-4f8c-9d54-604f15c06113",
"decode": {
"duration_in_millis": 0,
"writes_in": 0,
"out": 0
},
"name": "json",
"encode": {
"duration_in_millis": 0,
"writes_in": 0
}
}