Please suggest how to plot different states on a time line view when posted as below sample data , if I use line chart with time stamp on x axis and a sub-bucket of unique ID then it is left with only option which is split chart.
The graph is resulting in fragments of rows or columns based on states (Freedeal, position) besides a single line chart connecting the time stamps corresponding to unique ID with state name at those time stamps.
Currently it is getting plotted as screenshot i.e chart is split on basis of TradeState but what is required is line shart view with timestamp on X-axis, count on Y-axis and Unique trade ID and state details as below-
Thanks for the additional details! Let me make sure I understand: you'd like to display a separate line for each TradeID and you'd like to display the TradeState in the tooltip that appears when you hover your mouse over a point on the line?
Thanks, I think I understand now. Unfortunately this exact functionality doesn't exist at the moment. I believe this open Github issue describes what you want to do: https://github.com/elastic/kibana/issues/3090 (let me know if I'm wrong). I'd urge you to add your input to that ticket, explaining your use case. That will help the team design a better solution if they decide to add this feature.
In the meantime I can recommend a possible workaround. It's not as nice as having the info in a tooltip, but it might work.
First, create two visualizations. The first would be a line chart with timestamp on the x-axis, split lines on TradeID. The second would be a Metric visualization with a "Top Hit" metric with TradeState selected. The second agg config would look like this:
Next, add these two visualizations to a dashboard side-by-side. You can then click on points in the line chart to create filters, and once the filters are applied the Metric visualization will show the value of TradeState for that TradeID at that time. You can then remove the filters by hitting the back button. Here's how it would look with everything together:
Thanks Matt.
I have already created couple of visualizations on dashboard to answer the problem statement but not in a single view, I would add the input at github issue link.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.