# Multiline logs are not displaying in kibana

**URL:** <https://discuss.elastic.co/t/multiline-logs-are-not-displaying-in-kibana/119217>\
**Category:** Kibana\
**Created:** [February 9, 2018, 10:32am UTC](https://discuss.elastic.co/t/multiline-logs-are-not-displaying-in-kibana/119217 "2018-02-09T10:32:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaidehi9039](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vaidehi9039/32/25891_2.png) [@vaidehi9039](https://discuss.elastic.co/u/vaidehi9039)\
**Post date:** [February 9, 2018, 10:32am UTC](https://discuss.elastic.co/t/multiline-logs-are-not-displaying-in-kibana/119217/1 "2018-02-09T10:32:06Z")

</div>

Hi,

I am using multiline option in filebeat, the issue is its creating new index with the same name for each hits. And also if i use @timestamp as "time filter field name" it will not show any logs, if i use "I dont want to use time filter" option then only it will show the logs".

My filebeat.yml file:

filebeat.prospectors:

type: log

enabled: true  
paths:

C:\elk\logs\syslog.log  
fields:  
document\_type: prod  
include\_lines: ['^TID','^ERR', '^WARN']

multiline.pattern: '^TID'  
multiline.negate: true  
multiline.match: after

filebeat.config.modules:

path: ${path.config}/modules.d/\*.yml

reload.enabled: true

setup.template.settings:  
index.number\_of\_shards: 3

setup.kibana:  
host: "localhost:5601"

output.logstash:  
hosts: ["localhost:5044"]

logging.level: debug  
logging.selectors: ["\*"]

My logstash.conf file:

input {  
beats{  
port =\> 5044  
}  
}

filter {  
grok {  
match =\> ["message", "TID:%{SPACE}[%{INT:tenant\_id}]%{SPACE}[]%{SPACE}[%{TIMESTAMP\_ISO8601:event\_timestamp}]%{SPACE}%{LOGLEVEL:level}%{SPACE}{%{JAVACLASS:java\_class}}%{SPACE}-%{SPACE}%{GREEDYDATA:log\_message}" ]  
}  
date{  
match =\> ["event\_timestamp", "ISO8601","yyyy-MM-dd HH:mm:ss.SSSZ","yyyy-MM-dd'T'HH:mm:ss.SSSZ"]  
timezone =\> "Asia/Kolkata"  
}  
mutate {  
remove\_field =\> ["message"]  
}  
}

output {  
if[fields][document\_type] == "uit" {  
elasticsearch {  
hosts =\> "localhost:9200"  
manage\_template =\> false  
index =\> "uit-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
} else if[fields][document\_type] == "prod" {  
elasticsearch {  
hosts =\> "localhost:9200"  
manage\_template =\> false  
index =\> "prod-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}  
}

Please help me to resolve this issue.

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [February 9, 2018, 7:12pm UTC](https://discuss.elastic.co/t/multiline-logs-are-not-displaying-in-kibana/119217/2 "2018-02-09T19:12:34Z")

</div>

Hi there, could you please format your configuration snippets inside of a code block, using triple backticks? This will preserve whitespace, making it easier to read your config and answer your question.

````auto
```
Your config here
```

````

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [February 9, 2018, 7:24pm UTC](https://discuss.elastic.co/t/multiline-logs-are-not-displaying-in-kibana/119217/3 "2018-02-09T19:24:55Z")

</div>

Can you take a look at the `_source` of one of your events to see if `@timestamp` is being parsed correctly in Logstash?

Thanks,  
CJ

---

<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:** [March 9, 2018, 7:25pm UTC](https://discuss.elastic.co/t/multiline-logs-are-not-displaying-in-kibana/119217/4 "2018-03-09T19:25:11Z")

</div>

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