Splunk Search

How do I independantly scale x-axis in charts in Trellis?

rormond
New Member

Hello Splunk Community,
I'm trying to display multiple charts of data with Trellis. Example: Chart 1 will have a x-axis range of 0 to 10, Chart 2 will have a x-axis range of 0 to 100, and Chart 3 will have a x-axis range of 0 to 1000. Trellis will display all three charts but all three charts will be scaled as Chart 3, 0 to 1000. This is a problem since the data displayed for Chart 1 is shoved to the left and the data detail is poor. I set Trellis to independent but this does not resolve the issue . How do I set up Trellis (or the search parameters) so each chart is displayed according to its own x-axis range? All recommendations are appreciated!
thank you!

0 Karma

emeelan_splunk
Splunk Employee
Splunk Employee

Hi @rormond,

Only the y-axis can be made independent for the trellis layout. I'm not sure what kind of data your x-axis represents, but if you consider a transforming command like timechart it would be very difficult to find a way to automate a data scaling function because timechart is dependent upon the time interval you choose when you ran the initial search, while the y-axis intervals are what are returned. The returned values are easier to parse and scale independently. Trellis isn't designed for the kind of functionality you desire.

Suggestion: You can use the zoom feature to zoom in on an x-axis section on the individual trellis panels. i.e. once you create your trellis layout and save it as dashboard panel, you and other users that you've shared the dashboard with can click and drag to select a section of any of the trellis panels to zoom in on the areas along the x-axis in panels where the data is scrunched up in order to spread it out. the obvious limitation is that you can't save the dashboard in the "zoomed" state.

I hope this helps, I'm sorry my answer wasn't exactly what you were looking for.

Cheers,
Eve

0 Karma

livehybrid
Builder

What currently happens when you set it to independent? I would have thought that should sort it out! 🙂

0 Karma

rormond
New Member

Hello, setting Trellis to independent does not help. The displayed charts are as I described above. very odd...

0 Karma

livehybrid
Builder

Sorry, cant see a description of what the independent charts look like. I hope you get this resolved. Cheers

0 Karma
Get Updates on the Splunk Community!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

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 ...