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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...