Hi,
Is there a way to configure kibana to return specified fields in the response from es?
I am building a custom visual and am currently receiving only the document term field that I queried and thats defined as key:
"buckets": [
{
"key": "6000014",
"doc_count": 24
},
{
"key": "6000013",
"doc_count": 23
},
{
"key": "6000012",
"doc_count": 3
}
]
I would like something like this in my esResponse from within mu custom visual:
"buckets": [
{
"id_1": "6000014",
"id_2": "1000014",
"doc_count": 24
},
{
"id_1": "6000013",
"id_2": "1000013"
"doc_count": 23
},
{
"id_1": "6000012",
"id_2": "1000012",
"doc_count": 23
}
]
How would I go about doing this?
Regards benny