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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...