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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...