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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...