# Logstash - Error parsing a concrete value into object field

**URL:** https://discuss.elastic.co/t/logstash-error-parsing-a-concrete-value-into-object-field/306559
**Category:** Logstash
**Created:** [June 7, 2022, 11:53am UTC](https://discuss.elastic.co/t/logstash-error-parsing-a-concrete-value-into-object-field/306559 "2022-06-07T11:53:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Thuunder7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thuunder7/32/97482_2.png) [@Thuunder7](https://discuss.elastic.co/u/Thuunder7)
#### Post date: [June 7, 2022, 11:53am UTC](https://discuss.elastic.co/t/logstash-error-parsing-a-concrete-value-into-object-field/306559/1 "2022-06-07T11:53:07Z")

</div>

Hello guys,

I have a pipeline on Logstash that is parsing and filtering some data from a kafka topic. Everything is working fine but from time to time i got this error message:

```auto
"error"=>{"type"=>"mapper_parsing_exception", "reason"=>"object mapping for [debug.input.request] tried to parse field [request] as object, but found a concrete value"

```

The `[debug.input.request]` is in fact an object:

```auto
"debug": {
	"properties" : {
		"input" : {
			"properties" : {
				"request" : {
					"properties" : {
                     ...

```

And since Logstash tried to parse a non object it is giving me the above error.  
What i want to ask is the best way to catch when this field is a concrete value and map it to another field, this one not being an object.

Any ideias?

Regards

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [June 7, 2022, 4:38pm UTC](https://discuss.elastic.co/t/logstash-error-parsing-a-concrete-value-into-object-field/306559/2 "2022-06-07T16:38:35Z")

</div>

See [this](https://discuss.elastic.co/t/getting-illegal-state-exception-error-while-pushing-logs-to-elasticsearch/290029/2) answer, which addresses possible solutions.

---

<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 5, 2022, 4:38pm UTC](https://discuss.elastic.co/t/logstash-error-parsing-a-concrete-value-into-object-field/306559/3 "2022-07-05T16:38:54Z")

</div>

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