Refine your search:

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?

Thanks in advance

asked 03 Mar '12, 02:39

iKate's gravatar image

iKate
7015
accept rate: 62%


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

link

answered 16 Mar '12, 01:43

iKate's gravatar image

iKate
7015
accept rate: 62%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×252
×16
×7
×6
×1

Asked: 03 Mar '12, 02:39

Seen: 855 times

Last updated: 16 Mar '12, 01:43

Copyright © 2005-2012 Splunk Inc. All rights reserved.