title: How to stop a logstash Config file running in Ubuntu?
body: <p>Im running my logstash config file in Ubuntu using the following command.</p>
  
  <pre><code>/opt/logstash/bin/logstash -f /etc/logstash/conf.d/logstash.conf
  </code></pre>
  
  <p>Its working, However I recently realized that every time I run this command it starts another instance. Now I think there are six instances running. Because each new record i create shows as six in elasticsearch.</p>
  
  <p>How can I stop all these other instances and is there any way to check how many are running?
  Thanks</p>