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!

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 ...