Send Email Notifications from Kibana - elasticsearch

I have created a Kibana Dashboard which reports the user behaviour. Now based on the dashboard and graphs I want to send a email notification to my team by alerting which user behaviour is not good and which one is performing good.
I know that we can set email alerts on ES log monitoring. Is there any option from kibana dashboard where I can send custom notifications to my team by mentioning the user behaviour.

Related

How to send messages (3 types, text only) from external service to MS Teams user; each type can be toggled ON or OFF by that user in MS Teams?

Im new to MS Teams application development and looking for suitable solution based on the following requirements. Can I have some guidance from experts?
I have a web service, which sends emails to users based on certain activity. Eg: "Survey started", "Reminder for those who didn't complete the survey" and "when the survey results are out". On top of the email notifications, I also want to send a notification to those individuals who opt-in to receive the notification in MS Teams.
My requirements are,
My web service should be able to send the notification to those
opt-in users in MS Teams as a private message and not as a message in
groups/channels.
In MS Teams, the users should have control over which notification
they wants to receive. For eg: "User A" can opt-in to receive a
notification when a survey starts & survey reminders but can opt-out
of survey results notification where as "User B" can opt-in to
receive notifications for all three.
opt-in and opt-out settings for specific notification should be
configurable in the MS Teams. My web service irrespective of the
settings, will always send the notification to MS Teams but it will
be controlled in the MS Teams side whether to show the notification
to the user or not based on the individual user settings.
Based on the above requirements, please advise what should I build in MS Teams. Whether "Tabs" is enough or "Bot" needs to be built or anything else.
Any guidance or suggestions are really appreciated. Thanks in advance.
Please find below suggestions as per your requirements:
You can use the activity feed notification APIs in Microsoft Graph
to extend this functionality or SDK methods:
Reference doc link, Reference sample link
Also you can send proactive notifications via bot to user:
Send proactive messages
You can create a configurable page and add it to your Tab, which
will be visible to all users who install the bot.
There is no way in MS Teams which will filter or control the
notification to send it to different users without any custom
configuration or condition check.

Is it possible to customize ServiceNow for Slack?

Is it possible to customize ServiceNow for Slack? Can I view the code behind "Create an Incident"? Can I change the behavior? For example, can I cause it to set contact_type to "Slack"?
Sadly, ServiceNow for Slack in not customizable for now.
The best customization you can achieve is using slack workflows.
Check Customize incident workflows in the same link
Teams can create workflows to:
Build a custom form with any ServiceNow field to capture a ServiceNow
Incident in Slack
Automatically create incident channels
Send specific users messages in Slack when an incident is created from a
workflow
Leverage steps from other apps to trigger a ServiceNow
Incident in response to an event in Slack
Limitation of workflows is that you can only associate it with a single channel.

Setup alert in LUIS (Azure Cognitive Service) to track user activity

I want to know there's some way I can set up an email alert on the LUIS port if any users are changing established intent and utterances.
I need this feature because many users are able to access/edit my LUIS app using the company's single-sign-on, so I want to set up an alert on the portal if any user add/edit intent is in the current app, then I will get an email alert.
Please suggest ways that I can do this.
Nicholas is correct. Your users should NOT have access to your app.
There is nothing in the LUIS app on LUIS.ai that will send an email or notification any time the app is changed, because the only people who should have access to it are the developers.
You need to request from your admin to ensure you and any devs on your bot are the only contributers to your LUIS app.
https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-keys

Design Slackbot service to send automated messages

It is my very first time to write a slack bot and i am wondering how to design it.
The bot supposed to be available and respond to end-users' messages immediately.
The thing is that I need that the bot will also send schedules messages to registered users with automation results.
Use case example:
A user sends a message to the bot and registered to a service that
will check for changes in X. On a specific interval, my backend will
call an automation that checks for those changes and will send a
message to the user with the results.
What will be the best practice for this scenario?
Here is a basic outline.
1. Basic setup
Slack app with bot user
Database
Scheduler (e.g. local CRON service, or web-cron like cron-job.org)
2. Registration
Use Events API to listen to messages from users send via mention (app_mention) or direct message (message.im)
You app needs to store the received "registration" from each user in a database
Respond to user request directly if needed with chat.postMessage
3. Scheduled response
Scheduler calls your app
Your app check if responses are due with a database query
If yes: App sends responses to users via chat.postMessage (but not more than one message per sec due to rate limiting)

Add unique key of my own to slack event requests

I created a slack app with distribution (multiple clients)
and I subscribe to events several events like a message posted in a channel.
Beside the team_id field for identifying the client team - is there an ability to put my own key for a client?
Thank you.
No, Sack does not store any custom data for you. Its your job as an app developer to store all team related information for your app and link it to the Slack team_id. This is usually done with a database.
You can however include custom IDs with Slack requests, e.g. in the response you get from an interactive message. See this answer for more details on how this works.

Resources