Splunk Search

Is it possible to use EVAL field in sendemail with DBXQUERY search?

jnsd03
Explorer

I am needing to pass a custom date to the sendemail subject line and I know it is possible using a standard Splunk search and 'eval' but I have been unable to do it using a dbxquery search.
I am only able to add the custom date to the dbxquery select statement and pass it to sendemail using the 'fields' option but I would prefer not to have to add an extra field to my dbxquery.

Is there a way to use 'eval', or something else, to create a custom date field and add it to sendemail using a dbxquery as a search?

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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