Hello all,
I'm trying to create execution plan using following siddhi query.

from str[SrcIp contains '10.100.' and not (SrcIp contains
'.10.100')]#window.time( 5 min )
select SrcIp, sum(size) as bandwidth
group by SrcIp
insert into currentsums for current_events
;

When I try to validate this it says that, "line 4:0 missing EOF at
'insert'".
I have imported str stream properly from a stream returned by an event
builder.

// *Imported from org.wso2.default.stream.nout:1.0.0*
define stream *str* (
*meta_referer* string, *SrcIp* string, *DesrIp* string, *size* long,
*timestamp* string)

How can I solve this?

-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to