Splunk Search

Getting duplicate values

ChhayaV
Communicator

hi,

this is my query

index=tm_idx host="server" sourcetype="TM_Test_10"  
| rex field=msg "(?i)TM1\sserver\sload\stime\s\(secs\)\s\=\s(?P<timetakentostart>\w+)" 
| where timetakentostart!="" 
| stats sum(timetakentostart),values(timetakentostart) by date_month

values gives me unique value of the field but i want duplicates also. How can i get it ?

Thanks and Regards

Tags (2)
0 Karma
1 Solution

Ayn
Legend

Use list instead of values.

View solution in original post

Ayn
Legend

Use list instead of values.

Get Updates on the Splunk Community!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...