# Help with grok filter

**URL:** <https://discuss.elastic.co/t/help-with-grok-filter/109637>\
**Category:** Logstash\
**Created:** [November 29, 2017, 8:18pm UTC](https://discuss.elastic.co/t/help-with-grok-filter/109637 "2017-11-29T20:18:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [December 6, 2017, 10:30am UTC](https://discuss.elastic.co/t/help-with-grok-filter/109637/7 "2017-12-06T10:30:07Z")

</div>

Hi Rafael,

This question has already been answered on the forum.

> [@How to convert a field string to long in logstash](https://discuss.elastic.co/t/how-to-convert-a-field-string-to-long-in-logstash/49453):
>
> HI, How to convert string field to long in logstash. When i configured data type as long like below logstash not running. mutate { convert =\> { "clientid" =\> "long" } convert =\> { "groupid" =\> "long" } convert =\> { "teamid" =\> "long" } convert =\> { "userid" =\> "long" } convert =\> { "serviceid" =\> "long" } convert =\> { "eventid" =\> "long" } convert =\> { "pulsecount" =\> "long" } convert =\> { "statusid" =\> "long" } convert =\> { "ostype" =\> "long" } convert =\> { "dvpdropstate" =\> "long"…

Also, you should not ask all your questions in the same thread. You should create a new thread if the current doubt is solved.

Regards,  
N

---

_[View the full topic](https://discuss.elastic.co/t/help-with-grok-filter/109637)._
