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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...