Grafana Loki-log parser advance settings

Hi Grafana Team,

I’m using Grafana Loki for a week now and I need to parse a custom log line that my app produces as application logs.

Example:
{“log”:"[Wed Nov 10 17:22:11 2020] \u001b[0m[\u001b[XXXXXX\u001b[0m]\u001b[0m {\”title\”:\”participants",“room\”:\”XXXXX-cd96-406a-8cd1-XXXXXX\”,\”attendees”:[{“display\”:\”Name1\”,\”id”:“07653cc8-8e76-40ec-9357-db30d0378287”},{“display\”:\”Name2”,“id”:“a73XXXXX76cf3-CCC-412c-XXX-4078e5253CCCC6d”},{"display\”:\”Name3\”,\”id\”:\”XXXXXX-d7da-4cdb-acc6-XXXXXX\”},“participants”:[{“audio_codec\”:\”FFF\”,\”id”:“07653cc8-8e76-40ec-9357-XXXX\”,\”video_codec”:“vp8”,“display\”:\”Name1\”},{\”audio_codec\”:\”FFF\”,\”id”:“a7376cf3-XXXX-412c-b095-XXX\”,\”video_codec”:“vp8”,“display”:“Name2”},]}\n”,“stream”:“stdout”,“time”:“2020-11-10T17:22:11.347303338Z”}

Grafana by default is able to filter out log,stream key as per json format but I’m unable to filter out the log message internally.

I want to filter out the attendee and participant keys to seperate labels and then have all the names under it shown separated by comma. for example:

Attendee: Name1, Name 2, Name3
Participants: Participant1, participant2, and so on.

I have tried regexp,pattern and json but none works out.