# What version of logstash am I running

**URL:** <https://discuss.elastic.co/t/what-version-of-logstash-am-i-running/79642>\
**Category:** Logstash\
**Created:** [March 22, 2017, 7:59pm UTC](https://discuss.elastic.co/t/what-version-of-logstash-am-i-running/79642 "2017-03-22T19:59:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tglasgow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tglasgow/32/4363_2.png) [@tglasgow](https://discuss.elastic.co/u/tglasgow)\
**Post date:** [March 22, 2017, 7:59pm UTC](https://discuss.elastic.co/t/what-version-of-logstash-am-i-running/79642/1 "2017-03-22T19:59:20Z")

</div>

I have found an old server we installed Logstash on and I want to know what agent version it is. What is the best way to determine the version of the agent from the command line of the server (for Windows and Linux)?

---

<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:** [March 22, 2017, 8:11pm UTC](https://discuss.elastic.co/t/what-version-of-logstash-am-i-running/79642/2 "2017-03-22T20:11:00Z")

</div>

Like most programs Logstash supports a `--version` option.

---

<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 19, 2017, 8:11pm UTC](https://discuss.elastic.co/t/what-version-of-logstash-am-i-running/79642/3 "2017-04-19T20:11:10Z")

</div>

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