Open
Description
The default type for string additional fields is analyzed. Is there a way to register the type for the additional fields?
For instance, we register additional fields to track the host:
def customFields = [
"host": InetAddress.getLocalHost().getHostName()
]
def reporter = ElasticsearchReporter.forRegistry(registry)
.hosts(hosts)
.additionalFields(customFields)
.build()
Our host names have a naming convention which separates the number of the instance:
- api-01
- api-02
- etc..
This causes a split in the analyzed fields (api, 01, 02) when trying to visualize the data in kibana.
Metadata
Metadata
Assignees
Labels
No labels