[Dev] Siddhi Query : group by results

2016-06-22 Thread Aneela Safdar
Hi all, I am having a trouble in digesting results of my group by query. My source stream named intermediateStream has data ts uid id_resp_h 2016-05-08 08:59 CLuCgz3HHzG7LpLwH9172.30.26.119 2016-05-08 09:00 C3WnnK3TgUf2cSzxVa172.30.26.127

[Dev] Event Receiver does not take events having any parameter name containing dots (.)

2016-06-21 Thread Aneela Safdar
Hi all, My json custom formatted events are from a log file which contains parameters names with dots. i.e. sample event is {"ts":"2016-05-08

[Dev] Custom Input Mappings JSON : Could not find any matches for the incoming event with JSONPath

2016-06-20 Thread Aneela Safdar
    "compression_alg": "data3",     "kex_alg": "data4",         "host_key_alg": "data4",     "host_key": "data4"     }     } } I dont have event and payload tags in my events as it is a simple log file. When I try to send events, I got an error on console saying : ERROR {org.wso2.carbon.event.receiver.core.internal.type.json.JSONInputMapper} -  Could not find any matches for the incoming event with JSONPath : com.jayway.jsonpath.JsonPath@543abe49 ,hence dropping the event Have I done custom input mapping wrong or what else I need to do? Regards, Aneela Safdar ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Error : Stream Definition already exists

2016-06-18 Thread Aneela Safdar
The query I am trying to make work is : @Import('SSHInStream:1.0.0') define stream SSHInStream (ts string, uid string, id_orig_h string, id_orig_p int, id_resp_h string, id_resp_p int, version int, client string, server string, cipher_alg string, mac_alg string, compression_alg string, kex_alg

[Dev] Custom configuration of gadget in dashboard

2016-06-23 Thread Aneela Safdar
Hi all, I am trying to use a ui publisher with a line (chart type) single column gadget. I have a real stream with two attributes which I want to set x and y axis. But configuration does not allow me to select any of this attribute in drop down of x-axis (however it does allow me when I select

[Dev] DASHBOARD: Bar chart isn't displaying results in expected manner

2016-06-24 Thread Aneela Safdar
Hi all, I am using bar chart to display results outputted from execution plan. My output stream has results in form:            ts    logins1. 2016-05-08 08:59    12.2016-05-08 09:00     53.

[Dev] no viable alternative at input @import

2016-06-17 Thread Aneela Safdar
Hi, I am a newbie here and trying to write a simple siddhi query by simply importing a custom mapped stream. But as soon as I import it and validate query, it gives above error. My complete query however is @Import('bro.in.ssh.log:1.0.0') define stream inStream (ts string, uid string, id.orig_h

[Dev] Configuring Mailing List Settings

2016-06-17 Thread Aneela Safdar
Hi, I have just subscribed this mailing list but I am concerned about the number of irrelevant emails I am getting. Is it possible to receive only responses to my questions? And if possible how can I perform these particular settings? Thanks, Regards, Aneela

[Dev] Importing samples of wso2cep in developer-studio-eclipse

2016-07-24 Thread Aneela Safdar
Hi, I am trying to import http sample of wso2cep in eclipse-developer-studio with File-->New--->Java--->Java Project From Existing Build File but it isn't importing the src folder in eclipse. How am I suppose to make this import successful? I have used complete installation of wso2 developer

[Dev] Stroring event data in tables in addition to display

2016-08-14 Thread Aneela Safdar
Hi, I have been doing  a project in wso2cep to take some log files, perform queries in execution plans and then direct results to dashboard where a bar chart is displaying them. In addition to just showing bars of events, now I want to store the data in db too so I could see what happened

[Dev] Notification of any received events in execution plan

2016-08-14 Thread Aneela Safdar
Hi, I have for now created a siddhi query that receive events and after a little processing send them to dashboard where a bar chart display events. I am receiving events and sending their timestamps (ts)  as string and number of events (count) as integer to a stream, bar chart displays count

[Dev] RC1 release WSO2CEP-4.2.0 : Error while creating gadget

2016-08-10 Thread Aneela Safdar
I have donwloaded RC1 release of wso2-4.2.0 and during creating gadget, I am encountered with following error: Something went wrong while initiating Gadget generation wizard. Please see the detailed error message below. Internal Server Error - Error 500 h1,h3,h4{text-align:

[Dev] Updating an output stream in Siddhi Query

2016-08-06 Thread Aneela Safdar
Hi, I have a siddhi query to get the count of total events in one minute by using a timebatch window. Using an output stream I am updating a bar chart with constant coming values, tmestammps(date and time,till minute ) on x-axis and events count on y-axis. But there are sometimes when either

[Dev] Donwloading latest wso2cep 4.2.0 release

2016-08-07 Thread Aneela Safdar
Hi, I am trying to download new release of wso2cep but on download page it is still giving me the older version. Any suggestion?  Regards, Aneela Safdar___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] wso2 DAS 3.1.0 RC1 dashboard browser compatility issues

2016-08-21 Thread Aneela Safdar
Hi, I have been working on CEP for a while and now for some reasons I got shifted from CEP to DAS. I copied all receivers, streams, execution plans and publishers along with gadgets that I created in CEP to corresponding directories of DAS. However there seems to be some rendering issues of DAS

[Dev] wso2das : Upgraded version with wso2cep 4.2.0

2016-08-21 Thread Aneela Safdar
Hi, As there is a new candidate release of wso2cep, 4.2.0  is available and I am using some of the upgraded functions in siddhi query. I need to shift from cep to das but the new functions are unable to compile as I downloaded the latest version wso2das 3.0.1. Is there any release of DAS having

[Dev] sub query in siddhi QL

2016-08-29 Thread Aneela Safdar
Hi, How can I achieve this sql in siddhi query languge: select employee_id, (select count(*) from employees) from employees I want just a two columns of a stream, one legitimate and other is count of all records. Thanks, Regards,Aneela Safdar___ Dev

[Dev] Scatter Plot missing values

2016-08-29 Thread Aneela Safdar
address. Waiting for the suggestions. Thanks Regards, Aneela Safdar From: Dakshika Jayathilaka <daksh...@wso2.com> To: Aneela Safdar <ansaf_...@yahoo.com>; Tharik Kanaka <tha...@wso2.com> Cc: WSO2 Developers' List <dev@wso2.org> Sent: Monday, August 29, 2016 7:

[Dev] View Contents of In-Memory table

2016-08-31 Thread Aneela Safdar
Hi, I am using in-memory tables in execution plans and there sometimes  I need occur to see the contents of these tables. I was wondering if there is any such way like RDBMS tables?  Regards, Aneela Safdar___ Dev mailing list Dev@wso2.org

[Dev] rdbms table data view

2016-08-18 Thread Aneela Safdar
I have created an rdbms table in an execution plan and write below query @from(eventtable = 'rdbms' , datasource.name = 'WSO2_CARBON_DB' , table.name ='ftp_log_table') define table ftp_log_table (ts string, uid string, id_orig_h string, id_orig_p int, id_resp_h string, id_resp_p int, user

[Dev] Making use of a complete day data with in-memory table

2016-08-28 Thread Aneela Safdar
Hi, I am interested in creating a pie chart of % of protocols in network traffic for a complete day which during a day keeps on updating with newer traffic events. I think event streams keep on discarding the previous data as new events arrive. Is it so? So as I have to need previous events

[Dev] Scatter Plot missing values

2016-08-27 Thread Aneela Safdar
Hi, I am trying scatter plot and there are some values missing in the final output I dont know why. I am plotting port_numbers against ip_addresses and the problem is its keeping only latest ip_address and port_number pair discarding any previous port_number related to that ip. G1 : source_ip

[Dev] Notification facility in Analytics Dashboard

2016-08-23 Thread Aneela Safdar
Hi, I am generating a bar chart from some log files in dashboard, there are times when bar raises high due to huge amount of  network traffic and as it is happening in real time, there might come a scenario when some body would overlook those high bars as chart is continuously being updated. I

[Dev] Getting accumulative values from stream

2016-08-23 Thread Aneela Safdar
Hi, I have been using following siddhi query to get the events count per minute;  ts as timestamp (string) and ftp_requests as count (int) from FTPInStream[command == 'USER'] select time:timestampInMilliseconds(time:dateAdd(str:replaceAll(ts,'T',' '), 5, 'hour',"-MM-dd

[Dev] Chart's coordinates of to be of string type

2016-08-24 Thread Aneela Safdar
Hi, I am processing network traffic in real time using CEP and dashboard. The problem is there are situations where I like to make use of different charts like, line, area, scatter etc and need axis to be represented as IP-addresses or timestamps which are basically strings. But most of these

[Dev] Error in sending a notification through Email Publisher; Unknown SMTP host: smtp.gmail.com

2016-10-11 Thread Aneela Safdar
Hi, I am trying to send notification using Email adapter of Event Publisher. This is my output-event-adapter.xml's Email configurations             safdar.anee...@gmail.com     Aneela Safdar     */property>     smtp.gmail.com     587     true     t

[Dev] Email Notification under a proxy server

2016-10-12 Thread Aneela Safdar
Hi, I am trying to use Email adapter in order to provide notifications. But the problem is I am behind a proxy server and JavaMail doesnot support any web proxy, After a little search, I have found out that it is doable if proxy server supports SOCKS. It means I have to add parameters of Email