Dashboards & Visualizations

using less css in simple xml view

fto
Explorer

Hi everyone

Is it a way to use less css pre processor in splunk simple xml views?
Any link or ressource on how to use less in splunk will be welcome.

Thanks

0 Karma
1 Solution

jplumsdaine22
Influencer

Not natively that I know of - but you can just manually compile your .less from the command line? Then just move the resulting css file to the correct directory in your app.

See: http://lesscss.org/#usage

View solution in original post

0 Karma

fto
Explorer

Hi
Thanks for your reply.I would have liked to use splunk with less on client side ... But ok, I compile my .less file to .css from the command line and it works fine. Just for info : due to my enterprise policy, I'm not able to install software on my computer. But I achieved this by installing Node.js via portable Apps, configuring the proxy in .npmrc file and then installing less using this command : "npm install less". Using "lessc my_less_file.less my_css_file.css" is compiling the css file.

Happy new year 🙂

0 Karma

jplumsdaine22
Influencer

Not natively that I know of - but you can just manually compile your .less from the command line? Then just move the resulting css file to the correct directory in your app.

See: http://lesscss.org/#usage

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