Dashboards & Visualizations

Simple form word wrap

timbCFCA
Path Finder

I have built a simple form search per http://www.splunk.com/base/Documentation/latest/Developer/Step1CreateAForm. The results are not wrapping to the window. Is there an easy way to do this without going to the advanced XML?

Tags (1)
1 Solution

sideview
SplunkTrust
SplunkTrust

No, im sorry but it looks like the simplified XML does not expose anything that would let you turn on the 'softWrap' mode.

If you were building the view(s) for your own custom app you could hardwire the simplified form search EventsViewer modules to always use the softwrap CSS, but that's really not a very good answer im afraid.

View solution in original post

the_wolverine
Champion

For EventsViewer module, you can fix a hard wrap by editing the following line in SPLUNK_HOME/share/splunk/search_mrsparkle/modules/results/EventsViewer.css:

Change: _white-space:nowrap;

To: _white-space:pre-line;

0 Karma

sideview
SplunkTrust
SplunkTrust

No, im sorry but it looks like the simplified XML does not expose anything that would let you turn on the 'softWrap' mode.

If you were building the view(s) for your own custom app you could hardwire the simplified form search EventsViewer modules to always use the softwrap CSS, but that's really not a very good answer im afraid.

Get Updates on the Splunk Community!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...