@abdon Thanks, thats what I was looking for....
However, I am also facing another issue i.e.if in item_name I have something like
item_name: (Free disk space on /boot)
I am getting the below error
{
"error": {
"root_cause": [
{
"type": "query_shard_exception",
"reason": "Failed to parse query [host_name: (Zabbix server) AND item_name: (Free disk space on /boot)]",
"index_uuid": "buJiZeTmRu2CnZXXOWlVSw",
"index": "zabbix_0"
},
{
"type": "query_shard_exception",
"reason": "Failed to parse query [host_name: (Zabbix server) AND item_name: (Free disk space on /boot)]",
"index_uuid": "m8TdpmVQRbqg4PaqpZFuXA",
"index": "zabbixbeat-6.8.4-0001.01.01"
}
],
"type": "search_phase_execution_exception",
"reason": "all shards failed",
"phase": "query",
"grouped": true,
"failed_shards": [
{
"shard": 0,
"index": "zabbix_0",
"node": "FeQAdMiaTCmacOK_cl6nIQ",
"reason": {
"type": "query_shard_exception",
"reason": "Failed to parse query [host_name: (Zabbix server) AND item_name: (Free disk space on /boot)]",
"index_uuid": "buJiZeTmRu2CnZXXOWlVSw",
"index": "zabbix_0",
"caused_by": {
"type": "parse_exception",
"reason": "Cannot parse 'host_name: (Zabbix server) AND item_name: (Free disk space on /boot)': Lexical error at line 1, column 69. Encountered: <EOF> after : \"/boot)\"",
"caused_by": {
"type": "token_mgr_error",
"reason": "Lexical error at line 1, column 69. Encountered: <EOF> after : \"/boot)\""
}
}
}
},
{
"shard": 0,
"index": "zabbixbeat-6.8.4-0001.01.01",
"node": "FeQAdMiaTCmacOK_cl6nIQ",
"reason": {
"type": "query_shard_exception",
"reason": "Failed to parse query [host_name: (Zabbix server) AND item_name: (Free disk space on /boot)]",
"index_uuid": "m8TdpmVQRbqg4PaqpZFuXA",
"index": "zabbixbeat-6.8.4-0001.01.01",
"caused_by": {
"type": "parse_exception",
"reason": "Cannot parse 'host_name: (Zabbix server) AND item_name: (Free disk space on /boot)': Lexical error at line 1, column 69. Encountered: <EOF> after : \"/boot)\"",
"caused_by": {
"type": "token_mgr_error",
"reason": "Lexical error at line 1, column 69. Encountered: <EOF> after : \"/boot)\""
}
}
}
}
]
},
"status": 400
}
can you please help me on this?