# Unable to parse "message" field using filbeats

**URL:** https://discuss.elastic.co/t/unable-to-parse-message-field-using-filbeats/162095
**Category:** Kibana
**Created:** [December 26, 2018, 4:31am UTC](https://discuss.elastic.co/t/unable-to-parse-message-field-using-filbeats/162095 "2018-12-26T04:31:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sid\_nikhil](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@sid\_nikhil](https://discuss.elastic.co/u/sid_nikhil)
#### Post date: [December 26, 2018, 4:31am UTC](https://discuss.elastic.co/t/unable-to-parse-message-field-using-filbeats/162095/1 "2018-12-26T04:31:32Z")

</div>

I a trying to parse message field and store its value in a scripted filed

`return doc['message'].value;`

But the above query gives error **( 3 of 14 shards failed) when in click on Discover:**

But the same query works fine for all other fields:

`return doc['source'].value;`

my actual message field is

**message** : 2018-12-21 02:31:31,792;INFO ;XSYD.2.5.0.1a5e8-uye1-9d87-8744-5343db306cd8;1;0;;GETCONFPRO;0;

I want to split by ; and get the timestamp

I am very new to ELK .Can someone please suggest how to do that.

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [December 26, 2018, 3:01pm UTC](https://discuss.elastic.co/t/unable-to-parse-message-field-using-filbeats/162095/2 "2018-12-26T15:01:49Z")

</div>

Can you please provide some more details about the shard failure message. In Discover, click `Inspect`. Then click `Response` tab. Can you provide the contents of the response?

---

<div class="post-metadata">

### Author: ![sid\_nikhil](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@sid\_nikhil](https://discuss.elastic.co/u/sid_nikhil)
#### Post date: [December 26, 2018, 3:08pm UTC](https://discuss.elastic.co/t/unable-to-parse-message-field-using-filbeats/162095/3 "2018-12-26T15:08:04Z")

</div>

After clicking discover  
in the page that opened i did right click -\> inspect.  
Got response tab in NetworK tab

`{"responses":[{"took":5,"timed_out":false,"_shards":{"total":14,"successful":14,"skipped":0,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]},"aggregations":{"2":{"buckets":[]}},"status":200}]}`

 ![Capture_response](https://us1.discourse-cdn.com/elastic/original/3X/6/a/6a2a4a026eaf255a369330716b9e6baa59d4893b.png)

---

<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 23, 2019, 3:08pm UTC](https://discuss.elastic.co/t/unable-to-parse-message-field-using-filbeats/162095/4 "2019-01-23T15:08:06Z")

</div>

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