# Filebeat to Logstash split message log to different tables

**URL:** <https://discuss.elastic.co/t/filebeat-to-logstash-split-message-log-to-different-tables/249840>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 24, 2020, 2:55pm UTC](https://discuss.elastic.co/t/filebeat-to-logstash-split-message-log-to-different-tables/249840 "2020-09-24T14:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cedrikson](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@cedrikson](https://discuss.elastic.co/u/cedrikson)\
**Post date:** [September 24, 2020, 2:55pm UTC](https://discuss.elastic.co/t/filebeat-to-logstash-split-message-log-to-different-tables/249840/1 "2020-09-24T14:55:54Z")

</div>

Hello guys!

Please can someone help me.....  
I look for a solution that i get my filebeat logs in a perfekt readable log.....

This is how my log look like....but i like different columns (Ip,User) here everything stands in MESSAGE

Sep 24 16:48:04 file01 smbd\_audit: personal|10.1.1.135|personal|unlink|ok|/shares/homes/personal/\_a

How ca i filter that with logstash can anyone help me please?

**Here my logstash config:**  
input {  
beats {  
port =\> 5044  
}  
}

filter {  
if[type] == "log"{  
grok{  
match =\> {"message" =\> "%{SYSLOGTIMESTAMP:syslog\_timestamp} %{SYSLOGHOST:syslog\_hostname} %{DATA:syslog\_program}(?:[%{POSINT:syslog\_pid}])?: %{GREEDYDATA:syslog\_message}"}  
}  
date {  
match =\> ["syslog\_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss"]  
}  
}  
}  
output {  
elasticsearch {  
hosts =\> "localhost:9200"

kind regards  
patrick

---

<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 22, 2020, 4:55pm UTC](https://discuss.elastic.co/t/filebeat-to-logstash-split-message-log-to-different-tables/249840/2 "2020-10-22T16:55:58Z")

</div>

Closed on October 22, 2020, 4:55pm UTC

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