All parsed json fields as labels

Is it possible to automatically take all parsed fields from json and add them to a labels set?
Something like that:

promtail:
  config:
    snippets:
      pipelineStages:
        - labels:
            all:

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