我有以下电报配置:
[[inputs.http_response]]
name_override="test"
address="https://localhost:12345/test"
response_timeout="5s"
method="GET"
follow_redirects=false
insecure_skip_verify = true
response_string_match="test is up"
[inputs.http_response.tags]
system="system"
component="component"
[[processors.enum]]
[[processors.enum.mapping]]
field = "result_type"
dest = "value"
[processors.enum.mapping.value_mappings]
success = 1
我得到以下回复:
test,component=component,system=system result_type="success" 1611588662000000000
我期待着
test,component=component,system=system result_type="success",value=1i 1611588662000000000
我在这里做错了什么?我正在使用版本1.9.2
,它显示它有插件。