Logstash

Hi All

{"log":"abc","system":"ABC","country":"India","ids":["111222","22233344"]}

logtag= event.get('system') --> value getting as ABC
itemIds = event.get('ids') --> Not getting

How can we take a String array value?

If the [ids] field exists then event.get('ids') will return it. What does your configuration look like. What makes you think event.get is not returning anything?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.