# Logstash Config Issues

**URL:** <https://discuss.elastic.co/t/logstash-config-issues/39883>\
**Category:** Logstash\
**Created:** [January 22, 2016, 2:00pm UTC](https://discuss.elastic.co/t/logstash-config-issues/39883 "2016-01-22T14:00:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackal9301](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jackal9301/32/5748_2.png) [@Jackal9301](https://discuss.elastic.co/u/Jackal9301)\
**Post date:** [January 22, 2016, 2:00pm UTC](https://discuss.elastic.co/t/logstash-config-issues/39883/1 "2016-01-22T14:00:26Z")

</div>

I used to have a single input to logstash which I then parsed through conditional statements. I am now adding another input that won't apply to any of the prior work.

1. Can I just add tags to the input and add another large if else conditional around all of my prior parsing so it skips it?

2. I want to put this into elasticsearch in a separate index with a separate template. Do I still send both outputs to IP:9200?

3. I'm also using shield does that effect any of this?

Any input would be helpful. I pay for support however, my support guy is busy until monday and i'd really like to work on this today.

Thanks,  
Jack West

---

<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:** [January 23, 2016, 4:51pm UTC](https://discuss.elastic.co/t/logstash-config-issues/39883/2 "2016-01-23T16:51:43Z")

</div>

> 1. Can I just add tags to the input and add another large if else conditional around all of my prior parsing so it skips it?

Yes.

> 1. I want to put this into elasticsearch in a separate index with a separate template. Do I still send both outputs to IP:9200?

The host:port specification selects which ES cluster you're sending events to. Use the `index` option to select which index (or index series) to send the events to.

> 1. I'm also using shield does that effect any of this?

Nope.

---

<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:** [July 6, 2017, 5:14am UTC](https://discuss.elastic.co/t/logstash-config-issues/39883/3 "2017-07-06T05:14:38Z")

</div>


