I am trying to parse this json using spath, trying to create visualization from those kind of json logs. can some one help in parsing a query.
{
"level": "debug",
"message": "login_success_mla",
"timestamp": "2017-07-05T20:50:27.358Z"
} {
"transaction_type": "login",
"username": "mla.dev1@somemail.com",
"product": "mla",
"x-pb-transactionid": "041c851f-69ef-4ea8-a5c8-2bdbf0813f32",
"referer": "https://login-dev.saase2e.somecloud.com/mla?flow=v2&TargetResource=https%3A%2F%2Fsome.preview.com%2Foauth2%2Faus8zl82cdIGhGxGr0h7%2Fv1%2Fauthorize%3Fclient_id%3Dz1uxouBaavCLzSGOWfbD%26scope%3Dopenid%26response_type%3Did_token%20token%26redirect_uri%3Dhttp%3A%2F%2Flocalhost%3A8080%2F%26nonce%3D11111%26state%3D11111%26prompt%3Dnone%26response_mode%3Dfragment",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0",
"transaction_status": "OK",
"login_result": "success",
"reason": "",
"authn_status_code": "200",
"message": "mla.dev1@somemail.com was able to authenticate successfully.",
"version": "1.0.0.df85c67",
"environment": "dev",
"saase2eComponent": "LoginUI",
"level": "info",
"timestamp": "2017-07-05T20:50:27.358Z"
} {
"level": "debug",
"message": "https%3A%2F%2Fsome.apreview.com%2Foauth2%2Faus8zl82cdIGhGxGr0h7%2Fv1%2Fauthorize%3Fclient_id%3Dz1uxouBaavCLzSGOWfbD%26scope%3Dopenid%26response_type%3Did_token%20token%26redirect_uri%3Dhttp%3A%2F%2Flocalhost%3A8080%2F%26nonce%3D11111%26state%3D11111%26prompt%3Dnone%26response_mode%3Dfragment",
"timestamp": "2017-07-05T20:50:27.358Z"
} {
"username": "mla.dev1@somemail.com",
"x-pb-transactionid": "041c851f-69ef-4ea8-a5c8-2bdbf0813f32",
"transaction_type": "user_redirect",
"redirectUrl": "https://some.apreview.com/oauth2/aus8zl82cdIGhGxGr0h7/v1/authorize?client_id=z1uxouBaavCLzSGOWfbD&scope=openid&response_type=id_token token&redirect_uri=http://localhost:8080/&nonce=11111&state=11111&prompt=none&response_mode=fragment&sessionToken=20111jMPScGMmAq6YaxA5Hc2p6wjU69qHmG3L01Z-ZrEpIi2fE636mH",
"version": "1.0.0.df85c67",
"environment": "dev",
"saase2eComponent": "LoginUI",
"level": "info",
"message": "Redirecting user after successful login",
"timestamp": "2017-07-05T20:50:27.358Z"
}
... View more