Welcome to Splunk Answers, a Q&A forum for users to find answers to questions about deploying, managing, and using Splunk products. Contributors of all backgrounds and levels of expertise come here to find solutions to their issues, and to help other users in the Splunk community with their own questions.

This quick tutorial will help you get started with key features to help you find the answers you need. You will receive 10 karma points upon successful completion!

Refine your search:

ANNOUNCEMENT: Answers is being migrated to a brand new platform! answers.splunk.com will be read-only from 5:00pm PDT June 4th - 9:00am PDT June 9th. Please read this Answers thread for all details about the migration.

Welcome to Splunk Answers! Not what you were looking for? Refine your search.

Editable by users X and Y axis ranges

Hello, splunk experts!Can you please advise me a way to make it posssible for the users to change ranges of X and Y axises of longtail diagram?

At the moment column diagram shows thousand of purchased items(on X axis) in descenting order by the number of purchases.

It is needed for users to change at a website where they see this statistics to choose first 30, 50, 70 items or range of items from 100-150, 150-250. This was about X axis.

And by Y axis it is needed to choose ranges: 0-500, 500-1000, >1000

Above the diagram I tried to create a table with clickable set of values where clicking any value should put this value to the search string (by using click.value2). Maybe I'm not very experienced in xml, but it didn't work. I didn't find other way to create a table except adding to the end of the basic search a string: ...| setfields 30="30", 50="50", 70="70" | table 30 50 70 | head 1

But in my xml structure this table search replaces the main search and the diagram shows nothing.At least how one should arrange xml modules to make this work?

People who like this

1 Answer

Gyus, I tried to invent a bicycle! The next day this question was writen I found out that forms can completely solve my problem. Previously I used just dashboards. Now everything works pretty in the way that was described earlier.

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here. Closing this box indicates that you accept our Cookie Policy.