Splunk Search

Regex retrieval to create data for an entire row

yoshilog
Explorer

Hi everyone,  I just want to ask about this particular case that I am rather unsure if it's possible to execute in splunk. 

So let's say I have 2 sets of forms (which in the future might have more). 

1. Kitchen 

2. Living Room 

 

Each of those forms log text responses in splunk in different ways.

The text field for Kitchen forms have 

* kitchen diameter * [ 12 sqm]

*  sink diameter * [5 sqm]

* table color* [blue]

Then for the  living room form, it might have the following information

*sofa color * [green]

*wall color * [black]

*tv availability* [none]  

...

And so on, (just to emphasize that there can really be a huge variety with what kind of data is in the text)

Now, my question is. Would it be possible to break them all down in such a way that the values of the text would be the column names when I select them in the dashboard?

I want to retrieve them in accordance to when they're selected from a dropdown.

I was hoping to use the dropdown to allow me to select either of those three forms. 

Upon selection, what should happen is, the table below it should change in accordance to what was selected. 

 

So table for kitchen would look like

sofa colorwall colortv availability
12sqm5sqmnone

 

And when I select the living room form it would look somewhat like 

kitchen diametersink diametertable color
greenblacknone

 

I was thinking of using the rex to extract them, but after extracting them would it be possible to use them as column data? 

Also, can rex handle it dynamically, like if a form has 6 types of key value pairs, would it be able to handle it?

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...