Re: profiler Syntax error

2017-08-02 Thread Matt Foley
Good eye, Otto! From: Otto Fowler <ottobackwa...@gmail.com> Date: Wednesday, August 2, 2017 at 2:12 PM To: Matt Foley <mfo...@hortonworks.com>, "d...@metron.apache.org" <d...@metron.apache.org>, "user@metron.apache.org" <user@metron.apache.org> Sub

Re: profiler Syntax error

2017-08-02 Thread Otto Fowler
Can you try the rule without ‘in’ as a key? “in” is a reserved word in Stellar. What that error means is that the ANTLR lexer and parser cannot figure out what the statement means because of ambiguity, most likely introduced by the use of a keyword. (in is not a valid statement. On August 2,

profiler Syntax error

2017-08-02 Thread Dima Kovalyov
Hello Metron dev, I have created profile: { "profile": "host-talks-to", "onlyif": "exists(source_ip)", "foreach": "source_ip", "init": { "in": "HLLP_INIT(5, 6)" }, "update": { "in": "HLLP_ADD(in, destination_ip)" }, "result": "HLLP_CARDINALITY(in)" } And when I stream in