# Confused about error

**URL:** <https://discuss.elastic.co/t/confused-about-error/141966>\
**Category:** Logstash\
**Created:** [July 27, 2018, 3:39pm UTC](https://discuss.elastic.co/t/confused-about-error/141966 "2018-07-27T15:39:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wes/32/71098_2.png) [@wes](https://discuss.elastic.co/u/wes)\
**Post date:** [July 27, 2018, 3:39pm UTC](https://discuss.elastic.co/t/confused-about-error/141966/1 "2018-07-27T15:39:08Z")

</div>

Can someone help me understand this error I am seeing? I switched my index from  
`index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"`  
to  
`index => "%{[fields][group]}-%{[@metadata][beat]}"`  
And now I get the error:  
`[2018-07-27T15:35:14,821][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"qa-metricbeat", :_type=>"doc", :_routing=>nil}, #<LogStash::Event:0x151bff6a>], :response=>{"index"=>{"_index"=>"qa-metricbeat", "_type"=>"doc", "_id"=>#######", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"illegal_state_exception", "reason"=>"No matching token for number_type [BIG_INTEGER]"}}}}}`

Any help would be appreciated. Thanks.

---

<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:** [August 24, 2018, 3:39pm UTC](https://discuss.elastic.co/t/confused-about-error/141966/2 "2018-08-24T15:39:16Z")

</div>

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