# Create field associated by query

**URL:** https://discuss.elastic.co/t/create-field-associated-by-query/229555
**Category:** Elasticsearch
**Created:** [April 23, 2020, 11:05pm UTC](https://discuss.elastic.co/t/create-field-associated-by-query/229555 "2020-04-23T23:05:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jose\_Campos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jose_campos/32/11259_2.png) [@Jose\_Campos](https://discuss.elastic.co/u/Jose_Campos)
#### Post date: [April 23, 2020, 11:05pm UTC](https://discuss.elastic.co/t/create-field-associated-by-query/229555/1 "2020-04-23T23:05:01Z")

</div>

I have this Ip address "185.115.3.90" in the "ip" field and I do the search ip: 185.115.3.90, then add to that search a field called blacklist, and so associate blacklist to all the addresses that I want.

And create a visualization with IP and blacklist as fields.

Is this possible?

I have ES 6.8

Thank you for all your support.

---

<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: [May 21, 2020, 11:05pm UTC](https://discuss.elastic.co/t/create-field-associated-by-query/229555/2 "2020-05-21T23:05:14Z")

</div>

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