Re: [graylog2] regex.groups in Pipeline rule function

2016-06-22 Thread John Munro
`location["lat"]` and `location["long"]`. > > 1: > https://github.com/Graylog2/graylog-plugin-pipeline-processor/blob/master/src/test/resources/org/graylog/plugins/pipelineprocessor/functions/regexMatch.txt > > > Regards, > Edmundo > > > On 22 J

[graylog2] regex.groups in Pipeline rule function

2016-06-22 Thread John Munro
I cannot find the group return from the regex function. Where am I going wrong? rule "function add_latlong" when has_field("Remote_IP_geolocation") then // extract the latitude and longitude let location = regex("(-?\\d+\\.\\d+),(-?\\d+\\.\\d+)",to_string($message. Remote_IP_geolocation),[