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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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