I want to change my index for a visualization, so I went to:
Management > Saved Objects > Visualizatio
n
but I don't what field I have to change in my kibanaSavedObjectMeta.searchSourceJSON
kibanaSavedObjectMeta.searchSourceJSON:
{
"query": {
"query": "",
"language": "kuery"
},
"filter": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"key": "cloudwatch_logs.log_group",
"negate": false,
"params": {
"query": "/aws/lambda/b2_record_processor"
},
"type": "phrase",
"value": "/aws/lambda/b2_record_processor",
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index"
},
"query": {
"match": {
"cloudwatch_logs.log_group": {
"query": "/aws/lambda/b2_record_processor",
"type": "phrase"
}
}
}
},
{
"meta": {
"alias": null,
"negate": false,
"type": "phrase",
"key": "message",
"value": "ERROR - RECPROC - PROCESS",
"params": {
"query": "ERROR - RECPROC - PROCESS"
},
"disabled": false,
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.filter[1].meta.index"
},
"query": {
"match": {
"message": {
"query": "ERROR - RECPROC - PROCESS",
"type": "phrase"
}
}
},
"$state": {
"store": "appState"
}
}
],
"indexRefName": "kibanaSavedObjectMeta.searchSourceJSON.index"
}