# Logstash filtering

**URL:** https://discuss.elastic.co/t/logstash-filtering/339864
**Category:** Logstash
**Created:** [August 1, 2023, 9:45pm UTC](https://discuss.elastic.co/t/logstash-filtering/339864 "2023-08-01T21:45:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jennifer\_Coley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jennifer_coley/32/122429_2.png) [@Jennifer\_Coley](https://discuss.elastic.co/u/Jennifer_Coley)
#### Post date: [August 1, 2023, 9:45pm UTC](https://discuss.elastic.co/t/logstash-filtering/339864/1 "2023-08-01T21:45:00Z")

</div>

In my logstash every second logs will update, In a field name "message" consists group of data like

'2023-08-01T21:11:54 \<local.info\> [web.site.com](http://web.site.com/) IncomingMax1[123] 2023-08-01 11:10:54,123 INFO 987654321 Message.py 12 Incoming Message:'  
'\<nl John'  
'\<nl 672-222-2222'  
'\<nl NC'  
'\<nl USA'

I would like to create each word to suitable new fields like

Field1( Customer name) : John  
Field2(Mobile Number) : 686444444  
Field3(State): NC  
Field4(country): USA

please help , thanks in advance

---

<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: [August 29, 2023, 9:45pm UTC](https://discuss.elastic.co/t/logstash-filtering/339864/2 "2023-08-29T21:45:25Z")

</div>

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