# Stashing Your First Event - Unknown Command '{' error

**URL:** <https://discuss.elastic.co/t/stashing-your-first-event-unknown-command-error/129686>\
**Category:** Logstash\
**Created:** [April 26, 2018, 1:37pm UTC](https://discuss.elastic.co/t/stashing-your-first-event-unknown-command-error/129686 "2018-04-26T13:37:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yckoh](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yckoh](https://discuss.elastic.co/u/yckoh)\
**Post date:** [April 26, 2018, 1:37pm UTC](https://discuss.elastic.co/t/stashing-your-first-event-unknown-command-error/129686/1 "2018-04-26T13:37:05Z")

</div>

Hi, sorry I'm new to Logstash but I tried following the guide and got stuck with the following in my cmd prompt (I'm running on Windows). Is there something I missed?:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/7/d704c159abf7305dc76804bd7026c7bf17c240b9.png)

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 26, 2018, 2:11pm UTC](https://discuss.elastic.co/t/stashing-your-first-event-unknown-command-error/129686/2 "2018-04-26T14:11:59Z")

</div>

Have you tried using double quotes instead of single quotes (i.e. `-e "input { ...` instead of `-e 'input { ...`?

---

<div class="post-metadata">

**Author:** ![yckoh](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@yckoh](https://discuss.elastic.co/u/yckoh)\
**Post date:** [April 27, 2018, 1:01am UTC](https://discuss.elastic.co/t/stashing-your-first-event-unknown-command-error/129686/3 "2018-04-27T01:01:01Z")

</div>

That worked, thanks Magnus! 🙂

---

<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:** [May 25, 2018, 1:01am UTC](https://discuss.elastic.co/t/stashing-your-first-event-unknown-command-error/129686/4 "2018-05-25T01:01:08Z")

</div>

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