Security

Modifying the body of the email message for saved searches

Roozbeh59
New Member

I have a saved search which sends an email to the users when a condition is met. I need to include an image in the body of the email before it is sent. When I go to the saved search - Edit - Advanced Edit - "action.email.message.report", I can only enter texts in the box. Is there a way I can include an image to be displayed instead of the text?

Tags (2)
0 Karma

sbbadri
Motivator

@Roozbeh59

You can't add or attach image to your email body through Splunk GUI.

But can achieve it by sendemail.py.and the file will be available under this location $SPLUNK_HOME$/etc/apps/search/bin

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...