# Condition format for pipelines in Kibana

**URL:** <https://discuss.elastic.co/t/condition-format-for-pipelines-in-kibana/265985>\
**Category:** Logstash\
**Tags:** ingest-pipeline\
**Created:** [March 2, 2021, 4:34pm UTC](https://discuss.elastic.co/t/condition-format-for-pipelines-in-kibana/265985 "2021-03-02T16:34:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maria\_k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maria_k/32/77965_2.png) [@maria\_k](https://discuss.elastic.co/u/maria_k)\
**Post date:** [March 2, 2021, 4:34pm UTC](https://discuss.elastic.co/t/condition-format-for-pipelines-in-kibana/265985/1 "2021-03-02T16:34:43Z")

</div>

Hi!

I'm trying to create a pipeline in Kibana (Stack Management -\> Ingest Node pipelines). I'm creating the pipeline with JSON processor, and it works well until I'm adding a condition to it.  
I've got error when I tried to add _"if": "host.name == 'test'"_ to this field. When I've replaced it for _"host.name" == "test"_ there was no error, but the processor wasn't executed on my test document. What is the right format for this field?

I expected to find it [here](https://www.elastic.co/guide/en/kibana/master/ingest-node-pipelines.html), but haven't succeeded. I'm sorry if I just missed it in some other part of the documentation.

---

<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:** [March 30, 2021, 4:34pm UTC](https://discuss.elastic.co/t/condition-format-for-pipelines-in-kibana/265985/2 "2021-03-30T16:34:44Z")

</div>

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