# Logstash Metrics Using Dots - problems with ES 2.x?

**URL:** <https://discuss.elastic.co/t/logstash-metrics-using-dots-problems-with-es-2-x/36123>\
**Category:** Logstash\
**Created:** [December 2, 2015, 4:51am UTC](https://discuss.elastic.co/t/logstash-metrics-using-dots-problems-with-es-2-x/36123 "2015-12-02T04:51:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninjada](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@ninjada](https://discuss.elastic.co/u/ninjada)\
**Post date:** [December 2, 2015, 4:51am UTC](https://discuss.elastic.co/t/logstash-metrics-using-dots-problems-with-es-2-x/36123/1 "2015-12-02T04:51:55Z")

</div>

hello,

just going through all the potential problems with my upgrade to latest elk stack versions (logstash 2.x / elasticsearch 2.x / kibana 4.x)

received a number of warnings about dots in field names:

> Dots in field names lead to ambiguous field resolution, in fields: logs:http\_%{response}.count, logs:http\_%{response}.rate\_15m, logs:http\_%{response}.rate\_1m, logs:http\_%{response}.rate\_5m, logs:http\_200.count, logs:http\_200.rate\_15m, logs:http\_200.rate\_1m, logs:http\_200.rate\_5m,

with the following reason - elasticsearch 2.x changes for field names:

> **[Mapping changes | Elasticsearch Guide \[2.0\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/2.0/breaking_20_mapping_changes.html#_field_names_may_not_contain_dots)**

Noticed this was coming from my use of metrics for http\_%{response} codes in my log filters. This is what I have in my cfg:

> ```
> metrics {
> meter => ["http_%{response}"]
> add_tag => "metric"
> flush_interval => "60"
> }
> 
> ```

Seems for each metric logstash puts out .rate1m .rate5m & .rate15m etc. but the latest documentation says it should be outputting with underscores:

> **[Metrics filter plugin | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-filters-metrics.html)**

I'd assume that should cover it, but that doesn't appear to be the case when im using 'metrics' and dots are still all over the shop.

running latest logstash 2.1.0 & ES 2.1.0

---

<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:** [July 6, 2017, 5:20am UTC](https://discuss.elastic.co/t/logstash-metrics-using-dots-problems-with-es-2-x/36123/2 "2017-07-06T05:20:27Z")

</div>


