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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...