Splunk Search

How to use splunk to compute and display the cost of a downtime

ssudhaiyer
Engager

Hi,

I'm new to splunk. So, please bear with me if my question is lame and splunk is not meant for such things.

I see splunk offers extensions for customizing it. I would like to use this to compute the cost of a server/network downtime ( in terms of resource cost, network usage etc) and display it graphically. I'm thinking of different instances of splunk for the various groups/departments within the org. Is this possible?

Thanks,
Sudha

Tags (3)
0 Karma
1 Solution

Jon_Webster
Splunk Employee
Splunk Employee

It would be fairly simple. Assign a cost per minute for each resource, then create a "lookup" that contains the resource name and the cost per minute of downtime. Next you will create a search for each resource that detects minutes of downtime, run the "lookup" to match the resource to the cost, multiply the cost by the length of time of the outage and graph it.

This is very similar to what many customers do for their management console.

Here is the documentation for lookups:
http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Usefieldlookupstoaddinformationtoyourev...

Here is a tutorial on how to use lookups:
http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/Usefieldlookups

Good luck!

View solution in original post

Jon_Webster
Splunk Employee
Splunk Employee

It would be fairly simple. Assign a cost per minute for each resource, then create a "lookup" that contains the resource name and the cost per minute of downtime. Next you will create a search for each resource that detects minutes of downtime, run the "lookup" to match the resource to the cost, multiply the cost by the length of time of the outage and graph it.

This is very similar to what many customers do for their management console.

Here is the documentation for lookups:
http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Usefieldlookupstoaddinformationtoyourev...

Here is a tutorial on how to use lookups:
http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/Usefieldlookups

Good luck!

bmacias84
Champion

It could do that, but what events or metrics are using to base your calculations on. Splunk is greate for Operational data, but seem over kill or something like that. Also splunk doesnt operate like a standar relational database.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...