Access json objects with dot in key using string output codec

I'm trying to access a nested json object when using the string codec format but the key I'm trying to access has a "." in it. What is the correct syntax to do so?
An example of the json is:
"json": {
"time": "2019-03-26T18:09:43.396624023Z",
"vars.reference": "alpine",
"http.request.uri": "/v2/admin/glbtest1/manifests/alpine"

The example string format syntax is:
string: '%{[@timestamp]} %{[message]}'

@logankimmel I think using accessing vars.reference will work with %{[vars.reference]}, did it fail?

unfortunately no. also, "vars.reference" is nested under the "json" object

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.