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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...