GJSON Syntax still using #[...] because Go < v1.3.0

Last paragraph in GitHub - tidwall/gjson: Get JSON values quickly - JSON parser for Go tipped me off. All examples in this page already use the new notation #(...) and one has to pay attention to the ‘fine print’ to realize why the code isn’t working…

Perhaps telegraf/plugins/parsers/json at master · influxdata/telegraf · GitHub could have a warning about this where is says

“Consult the GJSON path syntax for details and examples.”

Good catch, can you open a new issue requesting that we update the gjson version.

Issue submitted as requested.