# Elastic search failed to parse

**URL:** <https://discuss.elastic.co/t/elastic-search-failed-to-parse/123896>\
**Category:** Elasticsearch\
**Created:** [March 14, 2018, 12:13pm UTC](https://discuss.elastic.co/t/elastic-search-failed-to-parse/123896 "2018-03-14T12:13:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sri535](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sri535](https://discuss.elastic.co/u/sri535)\
**Post date:** [March 14, 2018, 12:13pm UTC](https://discuss.elastic.co/t/elastic-search-failed-to-parse/123896/1 "2018-03-14T12:13:36Z")

</div>

HI i upgraded Elastic stack to 6.2 i am getting parsing error like below. please help to get rid of this  
indent preformatted text by 4 spaces  
failed to execute bulk item (index) BulkShardRequest [[foltsdb-2018.03.13][4]] containing [index {[foltsdb-2018.03.13][doc][KtWlH2IB9vIHqwZ6Yyrn], source[{"message":"MyVerizon,Launch,00:04:52,Pass,200,95,15,5467,JMeter13Mar\r","Latency":15,"@timestamp":"2018-03-13T13:55:54.494Z","TransactionName":"Launch","@version":"1","type":"LTR","Status":"Pass","Throughput":5467,"ResponseTime":95,"TestId":"JMeter13Mar\r","StartTime":"2018-01-01T08:04:52.000Z","ResponseCode":"200","path":"D:/JAEK/Results/Jmeter/LTResults/LT\_13Mar2018T063100912.csv","Application":"MyVerizon","host":"CELSC1WNA008"}]}]  
org.elasticsearch.index.mapper.MapperParsingException: failed to parse  
indent preformatted text by 4 spaces

---

<div class="post-metadata">

**Author:** ![sri535](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@sri535](https://discuss.elastic.co/u/sri535)\
**Post date:** [March 14, 2018, 12:28pm UTC](https://discuss.elastic.co/t/elastic-search-failed-to-parse/123896/2 "2018-03-14T12:28:51Z")

</div>

and from my logstash i am getting below error

```
[2018-03-14T05:27:08,276][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch.{:status=>400, :action=>["index", {:_id=>nil, :_index=>"foltsdb-2018.03.14", :_type=>"doc", :_routing=>nil}, #<LogStash::Event:0x62cc32ce>], :response=>{"index"=>{"_index"=>"foltsdb-2018.03.14", "_type"=>"doc", "_id"=>"MJF6JGIBIt7xOccsdjxp", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"Could not convert [message.index] to boolean", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"Failed to parse value [not_analyzed] as only [true] or [false] are allowed."}}}}}}    

```

[2018-03-14T05:27:08,276][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"foltsdb-2018.03.14", :\_type=\>"doc", :\_routing=\>nil}, #LogStash::Event:0x62cc32ce], :response=\>{"index"=\>{"\_index"=\>"foltsdb-2018.03.14", "\_type"=\>"doc", "\_id"=\>"MJF6JGIBIt7xOccsdjxp", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"Could not convert [message.index] to boolean", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"Failed to parse value [not\_analyzed] as only [true] or [false] are allowed."}}}}}}

---

<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:** [April 11, 2018, 12:28pm UTC](https://discuss.elastic.co/t/elastic-search-failed-to-parse/123896/3 "2018-04-11T12:28:53Z")

</div>

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