Splunk Search

Email from Splunk

viksvig
Loves-to-Learn Lots

I have splunk search - index=cloud EventName: "Error Occurred" XChangeToSalesForce | rename message as "Message" _time as Time | table Time,Message

When i search on splunk search, i get the below response

1637759064  Multiple Terms found for the same agency. Agency code: 

But when the email is sent, i get nothing on the message field

Time

Message

1637759064 

 

Labels (1)
Tags (1)
0 Karma

johnhuang
Motivator

How is the email formatted? Are you inserting the results as an inline table?

0 Karma

Siddharth
Path Finder

Try to add the results in some log or lookup and check the output 

In case if it is empty check the data and if not try to send the alert to your mail id using  this 

| makeresults | eval a = temp | table  a _time

and use inline table in your alert 

0 Karma

viksvig
Loves-to-Learn Lots

@johnhuang  it is formatted as inline table, i tried inline raw as well

0 Karma

viksvig
Loves-to-Learn Lots

@johnhuang  any idea why it is skipping the Messages

0 Karma

johnhuang
Motivator

Could you post a sample of the search result and also the email template config.

0 Karma

viksvig
Loves-to-Learn Lots

viksvig_0-1638384842160.png

This is the search and I am getting the desired result here. But when Email is sent the Message field blanks out

viksvig_1-1638384948005.png

 

0 Karma

viksvig
Loves-to-Learn Lots

viksvig_0-1638385016488.png

 

0 Karma

johnhuang
Motivator

That's strange and interesting. Lets rule out a few things.

1. Could you enable the options "Attach CSV" and "Attach PDF"? Run another test and see if the data is in the attachments.

2. Let's replace the data in Message with safe characters and see if that works.

| eval message="testing_"._time

 

 

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...