All Apps and Add-ons

Email alert - For a specific message in the log

motupaul
New Member

Hi Team,

With the below search query I have set the email Alert configuration, To only me as a testing which was working good.

index=index_name "Disk Alert 1 sent, Disk utilization at or near capacity"

My Quires are
1) I have mentioned, the complete line from the log file is "Disk Alert 1 sent, Disk utilization at or near capacity Partition=log, Usage=98%", So I want the email to trigger if the value is greater then 80% ? How and where this filter need to applied?

2) Alert which I created, I getting emails alerts and can able to open. Same I forward My teammate but he not able to open that, I verified Sharing category is private. In fact while I am creating the Alert I don’t see any option to select as private or public. By default it was Private.
So how can I modify that ?

3) In the same alert, I have mentioned my team DL email address instead if my ID when i try the run it is not triggering any email.
Could you please me to set email alert to the team to access/view ?

Please do let me know if my query is not clear & need any more detail information. You can email me at fine.

-Paul

Tags (1)
0 Karma
1 Solution

ckunath
Communicator

1) Since "Usage" is already a field with a value, you should be able to set up your alert by specifying that it should be above 80. Before that, you'll need to get rid of the "%" though

index=index_name "Disk Alert 1 sent, Disk utilization at or near capacity" | rex mode=sed field=Usage "s/%//g" | where Usage>80

2) To let your colleague look at the alert, be sure to set the alert to "Shared in App" when creating it.

3) Not sure what you mean by that, but if the problem is that your team cannot view the alert, the solution to 2) should work for this too.

View solution in original post

0 Karma

ckunath
Communicator

1) Since "Usage" is already a field with a value, you should be able to set up your alert by specifying that it should be above 80. Before that, you'll need to get rid of the "%" though

index=index_name "Disk Alert 1 sent, Disk utilization at or near capacity" | rex mode=sed field=Usage "s/%//g" | where Usage>80

2) To let your colleague look at the alert, be sure to set the alert to "Shared in App" when creating it.

3) Not sure what you mean by that, but if the problem is that your team cannot view the alert, the solution to 2) should work for this too.

View solution in original post

0 Karma

motupaul
New Member

Thank you very much for the answer

0 Karma

motupaul
New Member

Thank you for the response.

Where can i find the option/label to set to "Shared in APP" while creating the alert. And also in Run as what difference if we select "Owner or user"
alt text
alt text

0 Karma