All Apps and Add-ons

Edit View of Sideview Utils "Link" Module

_gkollias
Builder

Hey All,

I have a panel on a dashboard that shows single value counts, and for ones I think are more interesting I used Sideview Utils "Link" Module in place of Splunk's "SingleValue" module so that user's can drill down in to those single value counts..

The weird thing is that now there are two that are big and bold, and two that are tiny links.

Is there a way to edit the the way the Links look to match the view of Splunk's SingleValues?

Thanks!

1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Sure. You can set the cssClass of the Link module to something, say largeLink, and add such a class either to your application.css or to a custom CSS file linked to in the view itself. Such a class could look like this for a start:

.largeLink {
  font-size: 28px;
  font-weight: bold;
}

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Sure. You can set the cssClass of the Link module to something, say largeLink, and add such a class either to your application.css or to a custom CSS file linked to in the view itself. Such a class could look like this for a start:

.largeLink {
  font-size: 28px;
  font-weight: bold;
}

_gkollias
Builder

OK, great. Thanks a lot!

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

No, you would add such a class either to your application.css or to a custom CSS file linked to in the view itself.

You'll find the application.css in $SPLUNK_HOME/etc/apps/your_app/appserver/static. If there is no application.css yet you can create a new one, make sure it's readable by the Splunk user.

0 Karma

_gkollias
Builder

Hi Martin,

Can I add this directly in to the Splunk XML?

0 Karma

_gkollias
Builder

Thank you!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...