# Unable to generate CSV when querying for just an IP address

**URL:** https://discuss.elastic.co/t/unable-to-generate-csv-when-querying-for-just-an-ip-address/361620
**Category:** Elasticsearch
**Created:** [June 18, 2024, 6:02am UTC](https://discuss.elastic.co/t/unable-to-generate-csv-when-querying-for-just-an-ip-address/361620 "2024-06-18T06:02:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hjazz6](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hjazz6/32/79007_2.png) [@hjazz6](https://discuss.elastic.co/u/hjazz6)
#### Post date: [June 18, 2024, 6:02am UTC](https://discuss.elastic.co/t/unable-to-generate-csv-when-querying-for-just-an-ip-address/361620/1 "2024-06-18T06:02:39Z")

</div>

Hi,

I'm trying to search for an IP address in my data (ES v8.8.0). If I simply enter the IP in Kibana's Discovery's query bar, and I try to export the results into CSV, I get an empty file and the error

```auto
Encountered an unknown error: Request timed out
Encountered an error with the number of CSV rows generated from the search: expected NaN, received 0

```

But if I query `ip_of_interest: 1.1.1.1`, i.e. specify which field I'm searching the IP on, I get the same results, and are able to export the results into CSV.

Why is there a difference in generating CSV when using different queries?

Thank you.
