# Understanding Logstash config parenthesis

**URL:** <https://discuss.elastic.co/t/understanding-logstash-config-parenthesis/75765>\
**Category:** Logstash\
**Created:** [February 20, 2017, 3:29pm UTC](https://discuss.elastic.co/t/understanding-logstash-config-parenthesis/75765 "2017-02-20T15:29:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrs](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rrs](https://discuss.elastic.co/u/rrs)\
**Post date:** [February 20, 2017, 3:29pm UTC](https://discuss.elastic.co/t/understanding-logstash-config-parenthesis/75765/1 "2017-02-20T15:29:05Z")

</div>

Hello,

I am configuring Logstash multiple pipe lines to get logs processed. While configuring I am a bit confused where to use square and curly parenthesis in config files.

Can anyone explain me how to understand these and how to use.

Thanks in advance.

-Rama

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 21, 2017, 1:42am UTC](https://discuss.elastic.co/t/understanding-logstash-config-parenthesis/75765/2 "2017-02-21T01:42:00Z")

</div>

`[]` is used for arrays, `{}` is everything else.

---

<div class="post-metadata">

**Author:** ![rrs](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rrs](https://discuss.elastic.co/u/rrs)\
**Post date:** [March 6, 2017, 2:53pm UTC](https://discuss.elastic.co/t/understanding-logstash-config-parenthesis/75765/3 "2017-03-06T14:53:56Z")

</div>

Thank you..

---

<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:** [April 3, 2017, 2:53pm UTC](https://discuss.elastic.co/t/understanding-logstash-config-parenthesis/75765/4 "2017-04-03T14:53:56Z")

</div>

Closed on April 3, 2017, 2:53pm UTC

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