Reporting

Get events of first day of each month

ajaykr
New Member

Hi,

We have a report generating data on first day of each month and also on first day of each week.

We need to get the data of first day of each month. We have the query as below
|eval assetCount=tonumber(substr(Message,42))| eval month = strftime(_time, "%m") |stats max(assetCount) as "Total Count" by month|sort month desc
But, this gives the last data of each month.

Can you please help in getting the first data of each month. That is the report generated on the first day of each month.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...