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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...