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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...