# Creating an error index

**URL:** <https://discuss.elastic.co/t/creating-an-error-index/130552>\
**Category:** Logstash\
**Created:** [May 4, 2018, 3:44am UTC](https://discuss.elastic.co/t/creating-an-error-index/130552 "2018-05-04T03:44:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabilan](https://avatars.discourse-cdn.com/v4/letter/k/ecccb3/32.png) [@kabilan](https://discuss.elastic.co/u/kabilan)\
**Post date:** [May 4, 2018, 3:44am UTC](https://discuss.elastic.co/t/creating-an-error-index/130552/1 "2018-05-04T03:44:30Z")

</div>

Hi all,

So I am in the processing of migrating configs for my technologies from the grok filter to dissect filter. I want to output the dissect tag failures into a separate error index and the parsed data in another index.

I know I can do conditionals in the output section, but is there any way I could forward it to a indices at the filter section?

Regards,  
Kabi

---

<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:** [May 7, 2018, 7:02pm UTC](https://discuss.elastic.co/t/creating-an-error-index/130552/2 "2018-05-07T19:02:03Z")

</div>

> I know I can do conditionals in the output section, but is there any way I could forward it to a indices at the filter section?

No. What's wrong with using conditionals in the output section?

---

<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:** [June 4, 2018, 7:02pm UTC](https://discuss.elastic.co/t/creating-an-error-index/130552/3 "2018-06-04T19:02:05Z")

</div>

Closed on June 4, 2018, 7:02pm UTC

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