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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...