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

niketnilay
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

niketnilay
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

ssuzano
Engager

Thank you @niketnilay ! It helped me a lot.

0 Karma

sensitive-thug
Community Manager
Community Manager

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