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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...