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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...