Splunk Search

query return a list

shavitpren
Loves-to-Learn

hi, i want to return a result as a filed  with list of raw

 

my data is:

Product : A, SubProcut: A1, Status :1

Product : A, SubProcut: A2, Status :1

Product : A, SubProcut: A3, Status :2

Product : B, SubProcut: B1, Status :1

 

I want to query that result will be:

prodduct A, Status 2, subProducts: [A1,A2,A3], Status: 2

prodduct A, Status 2, subProducts: [B1], Status: 1

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Your query results are not consistent with your data. What are you trying to get from your data?

0 Karma
Get Updates on the Splunk Community!

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...

Splunk AppDynamics Agents Webinar Series

Mark your calendars! On June 24th at 12PM PST, we’re going live with the second session of our Splunk ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...