Splunk Search

Multivalue input choice box length css

D2SI
Communicator

Hello there!

I am looking for a way to adjust multivalue choice box length to keep them on one line.

I have already adjusted multivalue input box :

alt text

 <html>
   <style>
     #instance_id {
     width: 50%;
     }
   </style>
 </html>

But I do have long string choices that get displayed on two lines (#2), so I am trying to adjust box choices length to have something like this (#3):

alt text

Is there a way using css / simple xml?

Thanks in advance for any hint!

0 Karma
1 Solution

thomasroulet
Path Finder

Hello,

if you are using a splunk version> = 7 and <= 7.1 (I only tested on version 7.0.1, a Splunk Web UI update has been updated to version 7.1)
you could try to add this part of css:

#instance_id .select2-search-choice {
    max-width: none !important;
}

View solution in original post

thomasroulet
Path Finder

Hello,

if you are using a splunk version> = 7 and <= 7.1 (I only tested on version 7.0.1, a Splunk Web UI update has been updated to version 7.1)
you could try to add this part of css:

#instance_id .select2-search-choice {
    max-width: none !important;
}

D2SI
Communicator

Great thanks!

0 Karma
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!

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