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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...