Reporting

How to schedule report with email with pdf attachment?

will_paxata
Explorer

Somehow I have two scheduled reports that both send emails, and only one of them includes the PDF attachment while the other does not. Can someone enlighten me on why one report includes the PDF attachment and the other does not?

This report INCLUDES the pdf attachment:
coreMsUsed | search NOT coreMsUsed=-1 | lookup "all-tenants" tenantId as tenantId OUTPUT tenantName as "Tenant Name"| stats sum(coreMsUsed) by "Tenant Name"

This report DOES NOT include an pdf attachment:
| inputlookup "all-tenants" | lookup weekly_active_tenants.csv tenantId as tenantId | where isnull(loggedin) | fields tenantName

Is there anything about the second query that turns off email attachments? Are there configs that I am missing? fyi, I am using Splunk Cloud.

Thanks in advance!

Tags (2)
1 Solution

ChrisG
Splunk Employee
Splunk Employee

Did you schedule your report and configure it to send a PDF attachment? See Schedule reports in the Reporting Manual.

View solution in original post

krish3
Contributor

Just edit the report and choose edit schedule and make sure attach as PDF is checked for your second query.

Click here for Screen Shot

0 Karma

will_paxata
Explorer

Thanks krish3. That view in your screenshot is reachable from the splunk search UI but not from the listview of all reports. DIFFERENT UI!

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Did you schedule your report and configure it to send a PDF attachment? See Schedule reports in the Reporting Manual.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...