Splunk Search

Code to prepare a Comparison Result table.

jerinvarghese
Communicator

Hi All,

Need help in a Splunk code. Below is the data am having and a sample Table how the output looks like.

Input data: 

FromToLatency
CATRCCACCO43.94
CATRCCATRC0
CATRCGBLCO148.61
CATRCGBLHD88.06
CATRCINMCO283.96
CATRCCACCO43.94
CATRCCATRC0
CATRCGBLCO148.61
CATRCGBLHD88.06
CATRCINMCO283.96

 

Required Output Table: 

 CACCOCATRCGBLCOGBLHDINMCO
CACCO043.94167.54131.97305.64
CATRC44.610148.6188.06283.96
GBLCO167.54148.6103.51137.96
GBLHD131.9788.063.5105.5
INMCO305.64283.96137.965.50

 

Challenge in getting Code for both X and Y axis in the table.

Labels (7)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

 

| xyseries From To Latency

 

View solution in original post

0 Karma

jerinvarghese
Communicator

thanks that shows the data, but some challenge in showing the latest data/ latest latency value.. 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You will need to explain that more - the original question has been answered, correct?

Is there another question?

0 Karma

jerinvarghese
Communicator

related doubt on the main program, If i want to add a sparkline to that that, how can i get it.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

 

| xyseries From To Latency

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...