Hey guys,
As described in my title I’m have some issues with keyword data types.
What I’m trying to achieve.
Creating a dashboard for Mongo DB replica set using ElasticSerach as a datasource. More accurately using metricbeats mongodb module as a way of getting that data to elasticsearch. I then want to display the members of the replica set and their status (primary, secondary etc)
What I’m struggling with.
The field that holds the information on replica set members is a text field and either I’m being dumb or I can’t find a way to show that in Grafana panels. Any attempt is returning
{
“type”: “illegal_argument_exception”,
“reason”: “Expected numeric type on field [mongodb.replstatus.members.primary.host], but got [keyword]”
},
Grafana version is 5.4.2 and it’s a locally hosted instance.