All Apps and Add-ons

Website Monitoring app - Why does the app have duplicate request_time and total_time fields n the output from web_ping.py?

rpwawa
Explorer

Why does the Website Monitoring app have both a request_time and total_time field in the output from web_ping.py?

The total_time field is hard-coded in web_ping.py to be exactly the same as request_time.

Please consider removing one of these fields from the output since having both of them is just a source of confusion.

0 Karma

LukeMurphey
Champion

These two fields are here for historical reasons. The app used to provide some details on the individual steps in the process (how much time was spent looking up the domain name, etc).

The difficulty in removing one of the fields now is that the app is widely used and I am fearful of removing one of the fields since it would break searches people created based on the current fields.

0 Karma

rpwawa
Explorer

Yes, your answer makes sense. However, for new users of the app (like me) a good enhancement would be to add a configuration option to remove both the total_time and content_md5 fields from the output to reduce confusion and indexing volume.

Another unrelated suggestion - split the app into an add-on for performing pings and an app containing the dashboards and alerts. I am using only the web ping portion of your app and creating my own dashboards/alerts.

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...