Is there a way filter event by severity? #728
Unanswered
li-jun-fei
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here is the code
`category=["error"] #EventSeverity: error,info,user,warning
filter_spec = vim.event.EventFilterSpec(eventTypeId=event_type_list, time=time_filter,category=category)
eventManager = si.content.eventManager
event_collector = eventManager.CreateCollectorForEvents(filter_spec)`
but the error category filter is not working,warning filter works fine (vsphere 7.0u3)
Beta Was this translation helpful? Give feedback.
All reactions