Splunk Search

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

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

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

Contributor

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

0 Karma

New Member

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

0 Karma

Contributor

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

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!