OpenSearch/Dashboards v 2.10.0
I’m getting started with OpenSearch data streams and while viewing the logs for the data stream in Observability Explorer, I’d like to use the host.name property of the log message, but the nested object is being rendered as a string. I’m sure I have something misconfigured but have not found the magic Google query yet.
I have a mapping property set for it:
"host": {
"properties": {
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
Here’s what the json data in Explorer looks like:
The available fields on the left side only show host
and not host.name
. I’d like to have a field option for host.name instead of just host where all the values contain a stringified object. Is there a configuration change needed somewhere on the index template or mapping? TIA.