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
08:59:47.363764Z","uid":"CLuCgz3HHzG7LpLwH9","id.orig_h":"172.30.26.119","id.orig_p":51976,"id.resp_h":"172.30.26.160","id.resp_p":22,"version":2,"client":"SSH-2.0-OpenSSH_5.0","server":"SSH-2.0-OpenSSH_6.6.1p1
Ubuntu-2ubuntu2.6","cipher_alg":"arcfour256","mac_alg":"hmac-md5","compression_alg":"none","kex_alg":"diffie-hellman-group-exchange-sha1","host_key_alg":"ssh-rsa","host_key":"8d:df:71:ac:29:1f:67:6f:f3:dd:c3:e5:2e:5f:3e:b4"}
But event receiver does not take them and gives mapping errors saying:
Could not find any matches for the incoming event with JSONPath :
com.jayway.jsonpath.JsonPath@543abe49 ,hence dropping the event
How can I make receiver to accept such parameters?
Also unless I separate two events with *****, it doesn't receive any further
event. Sample 0002 have httpReceiver.txt file that contains events in this
particular pattern but I dont have any such separation in my log file. How to
make that work?
Any help will be appreciated.
Thanks
Regards, Aneela Safdar
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev