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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...