All Apps and Add-ons

How do you do ignoreOlderThan or current_only for Exchange PS scripts?

nick405060
Motivator

ignoreOlderThan is only for monitor
current_only is only for WinEventLogs

So how do I do this for the Exchange app .ps1 scripts? E.g. these? They do automatically backfill by default, and considering how intensive get-folderstats is, I doubt anyone ever wants that to backfill.

get-folderstats_2013.ps1
get-distlists_2010_2013.ps1
read-audit-logs_2010_2013.ps1
read-mailbox-audit-logs_2010_2013.ps1
get-hoststats_2010_2013.ps1
get-databasestats.ps1
get-mailboxstats.ps1
0 Karma

nick405060
Motivator

I executed a very hacky solution to this problem - run the scripts, kill them after a minute of running, and then re-run them. The second time it shouldn't backfill, as the first run was supposed to take care of that.

Unsure how repeatable this is and definitely not an elegant solution. It took 17 minutes for get-folderstats_2013.ps1 to run for a weeks worth of data (this was for a successive run after the backfill was killed, since I put it on a week cron)

0 Karma
Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...