# Pass multiple values(500 more ) in kibana dashboard

**URL:** <https://discuss.elastic.co/t/pass-multiple-values-500-more-in-kibana-dashboard/259463>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language\
**Created:** [December 23, 2020, 9:20am UTC](https://discuss.elastic.co/t/pass-multiple-values-500-more-in-kibana-dashboard/259463 "2020-12-23T09:20:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff\_arthur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeff_arthur/32/66616_2.png) [@jeff\_arthur](https://discuss.elastic.co/u/jeff_arthur)\
**Post date:** [December 23, 2020, 9:20am UTC](https://discuss.elastic.co/t/pass-multiple-values-500-more-in-kibana-dashboard/259463/1 "2020-12-23T09:20:27Z")

</div>

Hi,

How can i pass multiple values in kibana dashboard - 'add filter' - 'is one of' ? I have a txt file with 500 values ​​in it.

---

<div class="post-metadata">

**Author:** ![afharo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/afharo/32/75202_2.png) [@afharo](https://discuss.elastic.co/u/afharo)\
**Post date:** [December 23, 2020, 4:40pm UTC](https://discuss.elastic.co/t/pass-multiple-values-500-more-in-kibana-dashboard/259463/2 "2020-12-23T16:40:54Z")

</div>

Hi @jeff_arthur,

Unfortunately, Kibana currently does not support loading files to set filters. However, I think for your use case, you can create the filter using the advanced "Edit as Query DSL" option.

You can set a query like the one below:

```auto
{
  "query": {
    "terms": {
      "your_field": [
        "value1",
        "value2",
        ...
        "value500"
      ]
    }
  }
}

```

So you can copy-paste the values from your txt file.

For more info about the `terms` query: [https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html)

---

<div class="post-metadata">

**Author:** ![jeff\_arthur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeff_arthur/32/66616_2.png) [@jeff\_arthur](https://discuss.elastic.co/u/jeff_arthur)\
**Post date:** [December 24, 2020, 7:39am UTC](https://discuss.elastic.co/t/pass-multiple-values-500-more-in-kibana-dashboard/259463/3 "2020-12-24T07:39:18Z")

</div>

thanks for your answer. I think it is so hard copy-paste.hopefully elk this feature(loading files to set filters) will come.By the way, if my query finds any value of 500, we can use the following query to return a result. I customized it a little more.

```auto
{
  "query": {
    "bool": {
      "should": [
        {
          "match_phrase": {
            "Domain": "value1"
          }
        },
        {
          "match_phrase": {
            "Domain": "value2"
          }
        }
      ],
      "minimum_should_match": 1
    }
  }
}

```

---

<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:** [January 21, 2021, 7:39am UTC](https://discuss.elastic.co/t/pass-multiple-values-500-more-in-kibana-dashboard/259463/4 "2021-01-21T07:39:21Z")

</div>

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