bar-chartdashboardlinechartwso2-cep

WSO2CEP : Visualization of data through Line and Bar charts


I am having a hard time to get data displayed on gadgets in wso2cep dashboard. Stream containing data is something like:

    ts            ssh_logins
2016-05-08 08:59       1
2016-05-08 09:00       2  
2016-05-08 09:01       12
2016-05-08 09:14       20

where ts is string which I need to set as x-axis and ssh_logins is a long variable to be selected as y-axis. Now when I select a line chart, I couldn't get a plot as it doesnot allow to choose string as x-axis. How to overcome that? I also tried bar-chart but bars are not being populated when data come. Below is image to demonstrate. Is there a way to plot these simple values using available gadgets in wso2cep dashboard?

enter image description here


Solution

  • I have tried the same stream with bar chart and I was able to plot it by making ts as x axis and ssh_logins as y axis.Please see the attached image. Can you tell how did you send data to dashboard ? For the line chart, yes it a limitation, we have fixed it and will available in the future release. Also what is the cep version you are using ?

    Bar chart