I need to build a script that checks a log file on the IIS and parses how many 'HTTP Status = 503' strings are found. If it founds one, an alert is triggered.
Lots of ways to do this, there's a built in Log Parser for Powershell application template:
There are custom options:
There are other ways to get similar results by using HTTP/HTTPS monitors and Windows Event Log monitors if the information is found there as well, but I wanted to answer your question more along the ways it was asked.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process. Learn more today by joining now.