Alerting

Passing result.<fieldname> token

abi2023
Path Finder

I want my send email action email body to be in table view as my search result.
How do I pass dynamic token field value. 

$result.name$ $result.index$$result.sourcetype$


how do I make field value come side by side instead of below.
 how I am getting now in my email body 
name
name2
name3
name4
index
index2
index3
index4
sourcetype
sourcetype2
sourcetype3
sourcetype4

I want to be like below.

name index sourcetype
name2 index2 sourcetype2
name3 index3 sourcetype3
name4 index4 sourcetype4



Is it possible to do

Labels (2)
Tags (1)
0 Karma

marnall
Motivator

In Email alerts, there is a checkbox for "Inline", which would put the search results table into the body of the email.

If you would like more control over it, you could do some SPL magic to make a single field containing the html for a table in the arrangement you want, then put that field in the body.

0 Karma

abi2023
Path Finder

Can this work for passing value to Splunk add on for Servicenow. Description section.
Thank you 

0 Karma

marnall
Motivator

I don't have experience with that particular app but in theory it should work. Give it a try!

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...