Skip to content

[feature request] Add support for the unpack_json pipe #9

@arseny-zinchenko

Description

@arseny-zinchenko

Would be great to be able to use some LogsQL pipes && functions.

Particularly, we needed for the unpack_json.

Can this be added?

So it may look like UNPACK_JSON(_msg):

SELECT
  _time AS "Timestamp",
  UNPACK_JSON(_msg) AS unpacked,
  unpacked.user_id,
  unpacked.status
FROM logs
WHERE component = 'backend'
  AND _msg = 'e51f6cf4-b50e-498b-b580-3ad3259425db'
ORDER BY _time DESC
LIMIT 100

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions