# Filebeat Dissect Processor

**URL:** <https://discuss.elastic.co/t/filebeat-dissect-processor/276350>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 18, 2021, 8:01am UTC](https://discuss.elastic.co/t/filebeat-dissect-processor/276350 "2021-06-18T08:01:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Post date:** [June 18, 2021, 8:01am UTC](https://discuss.elastic.co/t/filebeat-dissect-processor/276350/1 "2021-06-18T08:01:22Z")

</div>

Hi All,  
I was testing the dissect processor in filebeat with this

`"%{ip_address} - %{user} [%{by_date|date}] \"%{request}\" %{response_code} %{response_size} %{msg_tail}"`

and I wanted to test directly to convert the field by\_date to date.

When I try to start filebeat I get Invalid data type

`Exiting: Failed to start crawler: starting input failed: Error while initializing input: invalid data type accessing 'filebeat.inputs.0.processors.0.dissect.tokenizer' (source:'filebeat.yml')`

Just to test if the syntax, I used this` %{by_date|integer}`and it worked

My question is, which are the allowed conversions?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0c686066ff4d1d0f78a6828465d31dab2146b99c.png)

Thank you!  
Regards  
Anna

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [June 21, 2021, 1:51am UTC](https://discuss.elastic.co/t/filebeat-dissect-processor/276350/2 "2021-06-21T01:51:52Z")

</div>

See the tokenizer header on [Dissect strings | Filebeat Reference [7.13] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/dissect.html#dissect). Looks like u can use integer, long, float, double, boolean or ip.

---

<div class="post-metadata">

**Author:** ![Anabella\_Cristaldi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anabella_cristaldi/32/23612_2.png) [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Post date:** [June 21, 2021, 5:30am UTC](https://discuss.elastic.co/t/filebeat-dissect-processor/276350/3 "2021-06-21T05:30:24Z")

</div>

Yes, thank you very much. i did not realize that the valid data types were epecified in the tokenizer header  
Regards  
Anna

---

<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 19, 2021, 7:30am UTC](https://discuss.elastic.co/t/filebeat-dissect-processor/276350/4 "2021-07-19T07:30:36Z")

</div>

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