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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...