# Troubles running Logstash on RHEL

**URL:** <https://discuss.elastic.co/t/troubles-running-logstash-on-rhel/265472>\
**Category:** Logstash\
**Created:** [February 25, 2021, 11:30am UTC](https://discuss.elastic.co/t/troubles-running-logstash-on-rhel/265472 "2021-02-25T11:30:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [February 26, 2021, 6:09am UTC](https://discuss.elastic.co/t/troubles-running-logstash-on-rhel/265472/3 "2021-02-26T06:09:44Z")

</div>

In Your command specify the filter/conf file . You ae just specified the directory name

Like this  
`/opt/logstash/bin/logstash -f /etc/logstash/conf.d/your_sample_filterfile.conf`

Run this command with root privilege's

---

_[View the full topic](https://discuss.elastic.co/t/troubles-running-logstash-on-rhel/265472)._
