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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...