# Logstask nested field problem

**URL:** https://discuss.elastic.co/t/logstask-nested-field-problem/259781
**Category:** Logstash
**Created:** [December 29, 2020, 8:29am UTC](https://discuss.elastic.co/t/logstask-nested-field-problem/259781 "2020-12-29T08:29:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![abu.sayeed](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@abu.sayeed](https://discuss.elastic.co/u/abu.sayeed)
#### Post date: [December 29, 2020, 8:29am UTC](https://discuss.elastic.co/t/logstask-nested-field-problem/259781/1 "2020-12-29T08:29:38Z")

</div>

Logs message :  
**"message" =\> "Backoff FixedBackOff{interval=0, currentAttempts=10, maxAttempts=9} exhausted "**

I need field like below:  
**"FixedBackOff" =\> {  
"interval"=0,  
"currentAttempts"=10,  
"maxAttempts"=9  
}**

Thanks all

---

<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: [December 29, 2020, 3:13pm UTC](https://discuss.elastic.co/t/logstask-nested-field-problem/259781/2 "2020-12-29T15:13:42Z")

</div>

I would do that using dissect and kv filters. Something like [this](https://discuss.elastic.co/t/parsing-firewall-logs-in-logstash/212786/2).

---

<div class="post-metadata">

### Author: ![abu.sayeed](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@abu.sayeed](https://discuss.elastic.co/u/abu.sayeed)
#### Post date: [December 30, 2020, 10:41am UTC](https://discuss.elastic.co/t/logstask-nested-field-problem/259781/3 "2020-12-30T10:41:10Z")

</div>

Thanks working better.

---

<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: [January 27, 2021, 10:41am UTC](https://discuss.elastic.co/t/logstask-nested-field-problem/259781/4 "2021-01-27T10:41:15Z")

</div>

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