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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...