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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...