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!

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 ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...