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
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
Get Updates on the Splunk Community!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

New Learning Videos on Topics Most Requested by You! Plus This Month’s New Splunk ...

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

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...