# GeoIP Troubles

**URL:** <https://discuss.elastic.co/t/geoip-troubles/245824>\
**Category:** Elasticsearch\
**Created:** [August 20, 2020, 9:22pm UTC](https://discuss.elastic.co/t/geoip-troubles/245824 "2020-08-20T21:22:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Midnigh7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/midnigh7/32/74261_2.png) [@Midnigh7](https://discuss.elastic.co/u/Midnigh7)\
**Post date:** [August 20, 2020, 9:22pm UTC](https://discuss.elastic.co/t/geoip-troubles/245824/1 "2020-08-20T21:22:26Z")

</div>

Trying to get geoip working from IIS log ingestion.  
Current setup;  
Elasticsearch v.7.9.0  
Kibana v.7.9.0  
Filebeat v.7.9.0

Output is set to Elasticsearch with geoip pipeline;

```auto
   output.elasticsearch:
      # Array of hosts to connect to.
      hosts: ["HOST:9200"]
      pipeline: geoip-info

```

geoip-info Pipeline is configured;

```auto
[
  {
    "geoip": {
      "field": "client.ip",
      "target_field": "client.geo",
      "ignore_missing": true
    }
  },
  {
    "geoip": {
      "field": "source.ip",
      "target_field": "source.geo",
      "ignore_missing": true
    }
  },
  {
    "geoip": {
      "field": "destination.ip",
      "target_field": "destination.geo",
      "ignore_missing": true
    }
  },
  {
    "geoip": {
      "field": "server.ip",
      "target_field": "server.geo",
      "ignore_missing": true
    }
  },
  {
    "geoip": {
      "field": "host.ip",
      "target_field": "host.geo",
      "ignore_missing": true
    }
  }
]

```

It's successfully harvesting IIS logs, and I show IP's. I also have a processor adding host\_metadata for private networks that do not appear in any field.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 21, 2020, 5:25am UTC](https://discuss.elastic.co/t/geoip-troubles/245824/2 "2020-08-21T05:25:49Z")

</div>

Hi @Midnigh7

I am not saying this is the issue but perhaps take at this similar issue. In short if your field name is `source.ip` on ingest and valid json is not created the rest of the ingest pipelines won't work. That is what the dot expander is for.

[Filebeat json to Elasticsearch, error processing pipeline](https://discuss.elastic.co/t/filebeat-json-to-elasticsearch-error-processing-pipeline/245767/2)

---

<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:** [September 18, 2020, 5:25am UTC](https://discuss.elastic.co/t/geoip-troubles/245824/3 "2020-09-18T05:25:52Z")

</div>

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