Reporting

Why is my scheduled report only returning one row using the top command?

bgwalters
New Member

I have a very simple search saved as a Scheduled E-mail Report. When I manually run the search it works as expected. The scheduled e-mail report only contains the first entry or I've also received separate e-mails each containing a row from the report.

The search string ends with | top limit=20 field_name_here Is there something I don't realize about the top command that would affect scheduled reports?

Thank you!

0 Karma
1 Solution

aakwah
Builder

Hello,

I suspect the Alert mode parameter in Alert definition, it could be: Once per search or Once per result.
Set it to Once per search and check the behavior, you can do from Web interface or from savedsearches.conf:

alert.digest_mode = True 

Regards

View solution in original post

0 Karma

aakwah
Builder

Hello,

I suspect the Alert mode parameter in Alert definition, it could be: Once per search or Once per result.
Set it to Once per search and check the behavior, you can do from Web interface or from savedsearches.conf:

alert.digest_mode = True 

Regards

0 Karma

bgwalters
New Member

How do I check the Alert definition for a Report via the web interface (6.5.2) ? I can't seem to find anything about "Alert" for this Report....

0 Karma

aakwah
Builder

Settings -> Searches, reports, and alerts -> Click the alert under Search name column -> Alert mode

0 Karma

ruchir
Explorer

Is your Alert mode set as Once per result?
Can you share the search and other alert options you set in report?

0 Karma

cmerriman
Super Champion

try just |top 20 field_name_here

0 Karma

bgwalters
New Member

This did not help unfortunately. Same behavior.

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...