Splunk ITSI

How to populate action field based on episode's data (ITSI Splunk)?

ppylypcuk
New Member

Hi guys,

Does anyone know whether it is possible to have Splunk show an actual value of an episode's field variable instead of showing the variable itself?

I am trying to essentially prefill a custom send email action with data that already comes inside each episode (these are referred to as common fields by Splunk).

I have tried various ways, including passing the variable to alert_actions.conf and editing the HTML, but clearly the data from alert_actions.conf is passed as a pure string to some other script (I'm assuming it's Splunk's JavaScript which then processes the data further).

Also, I know that the variable that is displayed is processed by a Python script upon pressing the "Done" button and it indeed takes the correct data, however, my problem is to have the variable's value already prefilled inside the inputboxes prior to clicking the done button.

I am also attaching a screenshot for a better understanding of my situation.

Note: %email_address% and %message% would be example of fields that are already contained within each episodesplunk example.PNG

 

Labels (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...