i using wso2cep dashboard displaying network traffic related information exploiting various graphs. wondering if there way can customize legend each type of graph or set globally create confusion viewer, elaborated in screen shot.
in piechart others = blue
in dest port vs src ip other = orange
one thing more scatter plot shifted left side of window cutting ips on y-axis , there space left on right side can used. how can drag chart towards right side?
and scatter chart not rendering multiple y-axis values against single x-axis value. here screen shot , values against plotted.
source_ip, source_port, destination_ip, destination_port, protocol 192.168.227.102,123,192.168.227.101,21,ftp 192.168.227.102,101,192.168.227.101,21,ftp 192.168.227.105,445,192.168.227.101,21,ftp 192.168.227.105,123,192.168.227.101,21,ftp 192.168.227.105,65576,192.168.227.101,22,ssh 192.168.227.109,123,192.168.227.101,22,ssh 192.168.227.109,123,192.168.227.101,22,ssh 192.168.227.109,3345,192.168.227.101,22,ssh 192.168.227.233,123,192.168.227.101,445,smb 192.168.227.233,123,192.168.227.101,445,smb 192.168.227.233,111,192.168.227.101,445,smb 192.168.227.202,123,192.168.227.101,3302,smtp 192.168.227.202,233,192.168.227.101,3302,smtp 192.168.227.102,123,192.168.227.101,3302,smtp 192.168.227.102,123,192.168.227.101,25,sql 192.168.227.102,123,192.168.227.101,25,sql
this happening because generated gadgets deciding the color scale , domain dynamically based on data has been passed chart.
if want explicitly specify color domain , color scale can configure in generated gadgets modifying vizgrammar (which chart library used) configuration of charts.
this can done changing chart api js file, there config creation [1] , there add colordomain predefined options below. domain defined statically without dynamically changing order , colors has constant
conf.colordomain = ["mysql","smb","other"]
even can define own colors
Comments
Post a Comment