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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...