Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 206069

Re: Displaying More than 1000 Events using EventManager

$
0
0

The QueryEvents method uses the default collector, and on there the window size if limited to a specific number (1000).

So you always get the last 1000 events.

 

If you set up an EventHistoryCollector, you can use the ReadNextEvents or ReadPreviousEvents methods to move your "window" over the entire collection.

 

See my Get-VIEventPlus function in my Get the vMotion/svMotion history post for an example on the usage of these methods.


Viewing all articles
Browse latest Browse all 206069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>