Skip to content

What is the proper way to parse when logs are json?  #105

@mitcheaton1

Description

@mitcheaton1

we tried

kubetail -j <pod> -n <namespace>

we get:

backend/0 is not defined at <top-level>, line 1:
. as $line | try (fromjson | <pod name> ) catch $line

Am i calling this correctly? Our logs for a particular service output as json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions