Splunk Enterprise

How to create C# alert action?

rendie
Path Finder

Hi folks,

I need to create an alert action in C #, how can I do that? I have an alert_actions.conf that describes a Python alert action, how can I add a new alert action using C #?

[send_mail]
is_custom = 1
python.version = python3
label =  Send mail
icon_path = appIcon.png
payload_format = json
 
 
Thanks and have a nice day!
0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @rendie 

Never did C# but just a thought this might work, you might not be able to execute direct C# binaries unless you convert them to .exe or take a help of .cmd, .bat script intern call C# code. Refer - Create a custom alert action script - Splunk Documentation

---

An upvote would be appreciated and Accept the solution if this reply helps!

0 Karma
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...