Hi,
I am new to ELK stack and trying to create dashboard in Kibana for my project.
I want to query distinct values in message. For example, I want to display number to messages received in Kafka topic.
"_index" : "logstash",
"_type" : "_doc",
"_id" : "WT66QHEB2YAFk6q3dDms",
"_score" : 5.038258,
"_source" : {
"type" : "java",
"@timestamp" : "2020-04-03T15:48:13.477Z",
"@version" : "1",
"message" : "timestamp=03-Apr-2020::16:48:13.102 logLevel=ERROR className=c.l.f.x.orchestrator.Orchestrator topic= COUNTRY_ASSOCIATION PartyId=789 Member Not Found Error: Member not found!",
"path" : "/tmp/logs/*.log",
} ```
I want to find out how many distinct "Party Id" in topic 'COUNTRY_ASSOCIATION'? How can I implement the search query in Kibana/Elastic search