if event.get(‘srcip’)
srcip = event.get(‘srcip’)
else
srcip = ‘’
end
if event.get(‘poluuid’)
poluuid = event.get(‘poluuid’)
else
poluuid = ‘’
endparams = { :hash_pair => [ 'srcip' + '-' + srcip, 'poluuid' + '-' + poluuid] } uri.query = URI.encode_www_form( params )
Is there anything wrong in my code? thank you.