All Apps and Add-ons

(Splunk Dashboards App Beta) How to wrap text in a table?

ssuzano
Engager

Hi,

I'm using Splunk Enterprise Dashboards App (beta) and inserted a table in my dashboard, but I need to wrap the text to show all of the content.

Instead of this:

alt text

I need something like this returned in a search:
alt text

How can I do that?

0 Karma
1 Solution

niketn
Legend

@ssuzano if the dots . define the end of line for Notification column, you can try the following to make Notification field a multivalue field so that each line takes a new line.

 | eval Notification=split(replace(Notification,"\.",".|"),"|")
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@ssuzano if the dots . define the end of line for Notification column, you can try the following to make Notification field a multivalue field so that each line takes a new line.

 | eval Notification=split(replace(Notification,"\.",".|"),"|")
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

ssuzano
Engager

Thank you @niketnilay ! It helped me a lot.

0 Karma

sensitive-thug
Splunk Employee
Splunk Employee

Thank you for asking a question @ssuzano,

I'm glad you found a helpful answer from @niketnilay. If their answer solved your issue please click “Accept” directly below the answer to resolve the post.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...