My filebeat client is sending data records with a numeric field name of 'accountID' to my elasticsearch server. When I create a (Kibana) visualization with this data, my graphs show the numberic 'accountID' values on the X-axis as expected. My goal is to map these numeric accountID values to an actual customer name. (Without the name, an accountID lookup in the database has to be executed, inefficient at best...)
My failed solution:
- Inner Objects - Use the elasticsearch mechanism called Inner Objects by adding the following values to the 'filebeat-index-template.json
{
"accountID": [
{ "ACCOUNT_ID": "1674", "SHORT_NAME": "Hickory"},
{ "ACCOUNT_ID": "887", "SHORT_NAME": "Dickory"},
{ "ACCOUNT_ID": "862", "SHORT_NAME": "Doc"},
]
}
}
Any suggestions for this novice to display a customer name, rather than my vague account_id??