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!

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...