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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...