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!

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, ...