checked json format ok and seems related index not found issue
from internet, any thing related to permission? cross cluster index?
for permission, it should be ok as that is admin account
and there is only one cluster
thanks for any hints
From the above, you’re using Filebeat to send logs to Opensearch and from these logs you would like to create an alert on each ssh attempt and for it to prompt an email as a result.
Lets. first figure out a few questions:
are these ssh events being monitored and is Filebeats sending them to Opensearch?
Can you see and send a sample of these events?
Which index are these events being sent to?
Are you querying the index which contains these logs in the per document monitor you’re trying to create?
Let me know when you validated and tested the above. You can also send on any sample information to show your validations,
Then when you’ve filled out everything, save the alert and then force some ssh logs. The monitor will work and you will be prompted alerts without having to create via the API.
{
“error”: {
“root_cause”: [
{
“type”: “alerting_exception”,
“reason”: “Can’t get text on a START_OBJECT at 20:22”
}
],
“type”: “alerting_exception”,
“reason”: “Can’t get text on a START_OBJECT at 20:22”,
“caused_by”: {
“type”: “exception”,
“reason”: “java.lang.IllegalStateException: Can’t get text on a START_OBJECT at 20:22”
}
},
“status”: 500
}