** I was wondering if the below described is possible to display on Kibana.
With a sample data as below, and the unique identifier being the 'sessionId'
What i'm trying to do is create any vizualization (lets say a table) where:
- if two documents with the same sessionId has the value 'Push Notification' and 'SMS Extra Pin', this should display a count of 1 (with the label 'SMS Extra Pin')
- if two documents with the same sessionId has on both only the value 'Push Notification', this should display a count of 1 (with the label 'Push Notification')
"hits": [{
"_index": "test-2022.02.07",
"_type": "_doc",
"_id": "1NNO034B-tVqz_6byU-H",
"_score": 8.699561,
"_source": {
"methodName": "MoveNext",
"app": "WebApi",
"level": "INFO",
"sessionId": "k0aneyp4uokzc0ekuz2gtd5h",
"request": {
"SessionKey": "****************",
"TransactionalPinType": "SMS Extra Pin"
}
}
}, {
"_index": "test-2022.02.07",
"_type": "_doc",
"_id": "1NNO034B-tVqz_6byU-H",
"_score": 8.699561,
"_source": {
"methodName": "MoveNext",
"app": "WebApi",
"level": "INFO",
"sessionId": "k0aneyp4uokzc0ekuz2gtd5h",
"request": {
"SessionKey": "****************",
"TransactionalPinType": "Push Notification"
}
}
}]
}