Dashboards & Visualizations

fontSize in tables - are selector functions enabled?

shonias
Explorer

Heya Splunk Community folks,

In an attempt to make a fairly large table in DS readable, I was messing around with fontSize, and I noted that the JSON parser in the code editor was telling me that pattern: "^>.*" is valid for the property: options.fontSize. Is that actually enabled in DS, does anyone know? In other words, can I put a selector/formatting function in (for example, formatByType) and have the fontSize selected based on whether the column is a number or text type? If so, what's the syntax for the context definition?

For example, is there a way to make this work?

"fontSize": ">table | frameBySeriesTypes(\"number\",\"string\") | formatByType(fontPickerConfig)"

(If not, there should be!)

Thanks!

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...