Splunk Search

how to merge similar events of a table using javascript?

sajjanshetty15
Loves-to-Learn

hello all,
I am trying to merge the rows of table into one value as all of them are same, but i dont want to use dedup as there are other columns which are having different values.
i have tried using stats values() and list() but it is not giving the required output as i want to drill down from the result table to another table.
here is the example table..
Metrics Month Raw Sla SLA
Incidence performance P1 18-Apr 100 100
Incidence performance P1 18-May 100 100
Incidence performance P1 18-Jun 44.44 100
Incidence performance P1 18-Jul 100 100
Incidence performance P1 18-Aug 88.8 100
Incidence performance P1 18-Sep 90 100
Incidence performance P1 18-Oct 56 100
Incidence performance P1 18-Nov 89 100
Incidence performance P1 18-Jan 100 100
Incidence performance P1 18-Feb 100 100

required output
Metrics Month Raw Sla SLA
Incidence performance P1 18-Apr 100 100
18-May 100 100
18-Jun 44.44 100
18-Jul 100 100....so on
I want to achieve this using Javascript...is possible?if so please help...
Thanks and regards

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...