Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
To Reproduce
Expected behavior
Your Environment
fluentd --version or td-agent --version/# td-agent --version
td-agent 1.4.2
cat /etc/os-release# cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco
uname -r: 5.0.0-20-genericYour Configuration
<filter aspnetcore>
@type record_transformer
auto_typecast true
<record>
size ${record["ContentLength"]}
duration ${record["fields"]["ElapsedMilliseconds"]}
</record>
</filter>
<!-- Write your configuration here -->
md5-0b5be91da41eeaeab316a266fe4eb5a8
md5-b6f2830203f9ae5ad47202bdb061d83a
<!-- Write your **ALL** error log here -->
Additional context
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
https://github.com/fluent/fluentd/blob/master/CONTRIBUTING.md#got-a-question-or-problem
This is similar case of https://docs.fluentd.org/filter/record_transformer#i-got-unknown-placeholder-usd-record-msg-found-error-why
But yes, use google forum for the question. Repost with actual log example is more better :)
I use double-quoted strings. Not single.
I guess probably you'll need enable_ruby true in your filter
Most helpful comment
I guess probably you'll need
enable_ruby truein your filter