Dashboards & Visualizations

Bring my research into a table with several predefined rows Splunk

carinahOliveira
Explorer

Hi, splunkres! I have a search that returns several text fields and I would like to form a table with predefined rows and columns, how can I do this?

Here is an example from my research:

index=search
timeformat="%d-%m-%YT%H:%M:%S" earliest="26-10-2021T00:00:00" latest="26-10-2021T23:59:00"
| rex field=search "VPN-ANTIVIRUS-WIN:Mandatory:(?<campo1>.*?):"
| rex field=search ";VPN-ANTIVIRUS-RUN-WIN:Audit:(?<campo2>.*?):"

 

Format of the table I want to return:

TítuloCampoStatus
linha1titulo do campocampo1
linha2titulo do campocampo2

 

And this way I can put as many lines as I want

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Does this give what you need?

| table Título	Campo	Status
0 Karma

carinahOliveira
Explorer

It doesn't give me what I want. I want a table with defined rows, because I want the fields one in each row.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

How about this?

| table Título	Campo	Status
| transpose 0
0 Karma

carinahOliveira
Explorer

This doesn't work, I believe I have to loop it through all the lines, but I can't find it

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Can you share examples of the events you are working with and explain which part of the event should go into which part of the resulting table?

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...