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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...