Event Log - Event ID and text

Hello! Looking for a script that will be an event monitor to send a maintenance ticket in if an event ID and Text is matched.

I am going to use this for CloudBerry, but if you make it generic enough it can be used for alot of different uses. Maybe we can modify the search for Log Name, Event ID, Product name, and then maybe the ability to search through event details for term(s)?

Log Name: Application
Source: Online Backup Desktop/Server Edition
Date: 2/14/2019 11:03:13 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: itsupportassistant.UCDC.local
Description:
Product name: Online Backup Desktop/Server Edition
Version: 5.9.4.246
Plan name: Test ITAdminAssist
Computer: ITSUPPORTASSIST
Bucket: nwuhdq

Duration: 21:01:29

Files copied: 0
Files purged: 0

Data copied: 0
Result: Failed

Event Xml:
<Event xmlns=“http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=“Online Backup Desktop/Server Edition” />
<EventID Qualifiers=“0”>0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=“2019-02-14T19:03:13.370077600Z” />
<EventRecordID>10221767</EventRecordID>
<Channel>Application</Channel>
<Computer>itsupportassistant.UCDC.local</Computer>
<Security />
</System>
<EventData>
<Data>Product name: Online Backup Desktop/Server Edition
Version: 5.9.4.246
Plan name: Test ITAdminAssist
Computer: ITSUPPORTASSIST
Bucket: nwuhdq

Duration: 21:01:29

Files copied: 0
Files purged: 0

Data copied: 0
Result: Failed

</Data>
</EventData>
</Event>

Hello @sromine

Here is the script link for your script request:
https://scripts.itarian.com/frontend/web/topic/retrieve-event-logs

Thank you