Dashboards & Visualizations

How to include time range picker values (month and year) as email tokens in a scheduled report?

el_ster
Explorer

Dear experts,

I configured a report scheduled once a week. Time range picker is set to previous month. The report should be sent via email. In the email subject and body, I would like to show the name of the month and the number of the year.

How can I achieve this?

Thanks in advance for your help!
Elmar

0 Karma
1 Solution

el_ster
Explorer

I figured it out by my own. I have to use result.date_month.

Thanks anyway for your help and br,
Elmar

View solution in original post

0 Karma

el_ster
Explorer

I figured it out by my own. I have to use result.date_month.

Thanks anyway for your help and br,
Elmar

0 Karma

HattrickNZ
Motivator

do you just put $result.date_month$ or result.date_month in the email subject and body?
os the email body would have

Date: $result.date_month$
0 Karma

HattrickNZ
Motivator

tks this question helped me
need to use this to get what I want. $job.earliestTime$

0 Karma

stephanefotso
Motivator
0 Karma

el_ster
Explorer

Hi,

Thanks for your answer. Yes, the link you sent me I actually used as a starting point to get email notifications implemented. However, I would have hoped that someone can show me exactly how to extract the search time range picker value for usage as an email token.

Br,
Elmar

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...