Reporting

extracting time-taken field from IIS logs

ebailey
Communicator

We need to start alerting on the results of the IIS time taken field. Any idea how to extract that field so it can be easily searched? I am hasving no luck at all.

example output

2012-04-25 21:23:31 ::1 POST /PU.PDS.ExternalServices/SolutionExecution/ExternalSolutionExecution.svc - 80 - ::1 - 200 0 0 11734

I need to sertup an alert on the last field output "11734" when it gets over 10000.

Thanks!

Ed

0 Karma

roumys
Explorer

Try to see if adding this in your search works.

sourcetype=iis_logs| rex "(?\w*)$"

See if the field time_taken is matching the last digits correctly. Then create an alert and make it alert if time_taken > 10000

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...