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
Moderator
Moderator

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!

Splunk Lantern | Spotlight on Security: Adoption Motions, War Stories, and More

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...