# Ingest pipeline unable to create new field from message data

**URL:** <https://discuss.elastic.co/t/ingest-pipeline-unable-to-create-new-field-from-message-data/315123>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 26, 2022, 5:57am UTC](https://discuss.elastic.co/t/ingest-pipeline-unable-to-create-new-field-from-message-data/315123 "2022-09-26T05:57:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratikshatiwari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pratikshatiwari/32/116646_2.png) [@pratikshatiwari](https://discuss.elastic.co/u/pratikshatiwari)\
**Post date:** [September 26, 2022, 5:57am UTC](https://discuss.elastic.co/t/ingest-pipeline-unable-to-create-new-field-from-message-data/315123/1 "2022-09-26T05:57:40Z")

</div>

Hello Team,

We are trying to create an ingest pipeline using filebeat for below log pattern to create new field "elasticsearch.slowlog.took\_millis="16"" from below slowlog message, but unable to find proper documentation from elastic which can help here.

## elasticsearch index slow Log message as follow

[2022-09-26T05:50:17,970][WARN][i.s.s.fetch] [node-1] elasticsearch.slowlog.id="null" elasticsearch.slowlog.message="[indexname][0]" elasticsearch.slowlog.search\_type="QUERY\_THEN\_FETCH" elasticsearch.slowlog.source="{}" elasticsearch.slowlog.stats="" elasticsearch.slowlog.took="16.7ms" elasticsearch.slowlog.took\_millis="16" elasticsearch.slowlog.total\_hits="106920 hits" elasticsearch.slowlog.total\_shards="1"

* * *

Kindly suggest how i can achieve this

Regards  
Pratiksha

---

<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:** [October 24, 2022, 7:58am UTC](https://discuss.elastic.co/t/ingest-pipeline-unable-to-create-new-field-from-message-data/315123/2 "2022-10-24T07:58:21Z")

</div>

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