Splunk Search

How calculate the % based on two different tables where I am using addcoltotals to calculate grand total?

ND
Path Finder

Hi Team,

 

I want to calculate the % based on two different tables where I am using addcoltotals to calculate grand total.

table 1:

A  B  C

v1 v2 v3

v4 v5 v6

T1 T2 T3 --- > grand total

table 2:

A B C

x1 x2 x3

x4 x5 x6

T4 T5 T6  -> grand total

 

I want to calculate :

F1 =T1/T4

F2 = T2/T5

F3 = T3/T6

 

could you please help me to find the solution.

 

can I store values of T in token and use eval command to calculate the results.

 

looking forward for the help

 

Labels (4)
0 Karma

somesoni2
Revered Legend

There two tables (results with Total rows) are in a dashboard OR ad-hoc search?

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...