# Logstash

**URL:** <https://discuss.elastic.co/t/logstash/265052>\
**Category:** Logstash\
**Created:** [February 22, 2021, 10:28am UTC](https://discuss.elastic.co/t/logstash/265052 "2021-02-22T10:28:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranju](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranju/32/84299_2.png) [@ranju](https://discuss.elastic.co/u/ranju)\
**Post date:** [February 22, 2021, 10:28am UTC](https://discuss.elastic.co/t/logstash/265052/1 "2021-02-22T10:28:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 23, 2021, 12:58am UTC](https://discuss.elastic.co/t/logstash/265052/2 "2021-02-23T00:58:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 23, 2021, 12:59am UTC](https://discuss.elastic.co/t/logstash/265052/3 "2021-03-23T00:59:14Z")

</div>

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