Hi,
Below is an example document
{
"_index": ".ds-syslog",
"_id": "N75925gBvsYetcCIWFC7",
"_score": 1,
"_source": {
"message": "Base SECURITY-MINOR-ssh_user_login_failed-2011 [test2]: User test2 from 10.176.57.164 failed authentication",
"meta": {
"host": {
"name": "test-met-1a",
"type": "NOKIA-TiMOS"
}
},
"nokia": {
"facility": "SECURITY",
"hostname": "test-met-1a",
"pri": "187",
"severity": "MINOR",
"srcip": "10.10.10.10",
"subject": "ssh_user_login_failed-2011",
"timestamp": "Aug 24 09:51:20",
"vrtr_name": "Base"
},
"syslog": {
"facility": "local7",
"host": "10.10.10.10",
"priority": 187,
"severity": "minor",
"timestamp": "2025-08-24T09:51:20.688Z"
}
},
"fields": {
"meta.collector.timestamp": [
"2025-08-24T09:51:20.688Z"
],
"syslog.timestamp": [
"2025-08-24T09:51:20.688Z"
]
}
}
The above screen shots show the alert creations. I have tried this with ha few other nested fields with different documents - all seem to result in a ‘-’. Wondering if the capital letter in the header has something to do with it ?
host.meta.name is a keyword. The alert is counting the number of subjects that match ‘ssh_user_login_failed-2011’, grouping by meta.host.name and alarming if > 9
Alert from API (/_plugins/_alerting/monitors/alerts?alertState=ACTIVE) - we can see this shows the correct agg keys.
"alerts": [
{
"id": "OnU-6JgBRmFLcQ6F2tFl",
"version": 8,
"monitor_id": "BPXQ9ZEB3EK2NoRz1r53",
"workflow_id": "",
"workflow_name": "",
"associated_alert_ids": [],
"schema_version": 5,
"monitor_version": 6,
"monitor_name": "NOKIA-SSH_USER_LOGIN_FAILED",
"execution_id": "BPXQ9ZEB3EK2NoRz1r53_2025-08-26T21:18:09.993508361_e6fa73ee-99ba-49f1-8c4b-255724c414ad",
"trigger_id": "A_XQ9ZEB3EK2NoRz1r5k",
"trigger_name": "NOKIA_FAILED_LOGIN_COUNT",
"finding_ids": [],
"related_doc_ids": [],
"state": "ACTIVE",
"error_message": null,
"alert_history": [],
"severity": "3",
"action_execution_results": [],
"start_time": 1756243090010,
"last_notification_time": 1756243090010,
"end_time": null,
"acknowledged_time": null,
"agg_alert_content": {
"parent_bucket_path": "composite_agg",
"bucket_keys": [
"test-met-1a"
],
"bucket": {
"doc_count": 12,
"key": {
"meta.host.name": "test-met-1a"
}
}
}
}
....SNIP