# Jira Error Logging with Logstash / Filebeat

**URL:** <https://discuss.elastic.co/t/jira-error-logging-with-logstash-filebeat/198393>\
**Category:** Logstash\
**Created:** [September 6, 2019, 9:54am UTC](https://discuss.elastic.co/t/jira-error-logging-with-logstash-filebeat/198393 "2019-09-06T09:54:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwisnia](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dwisnia](https://discuss.elastic.co/u/dwisnia)\
**Post date:** [September 6, 2019, 9:54am UTC](https://discuss.elastic.co/t/jira-error-logging-with-logstash-filebeat/198393/1 "2019-09-06T09:54:01Z")

</div>

Howdy Folks,

Disclaimer: I am a bloody beginner at the ELK Stack.

We want log the errors and messages from our Atlassian Enviroment. Starting with Jira, we had issues with correct formats in the messages.

I already adjusted the log4j output, installed the logstash log4j plugin and send the logs with filebeat to logstash.

But, the message is still: message 2019-09-06 08:54:39,654+0000 DEBUG ActiveObjectsServiceFactory:208 - Gemini Blueprint context shutdown thread 1 [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] ungetService bundle [com.atlassian.plugins.base-hipchat-integration-plugin-api]

Now I have some questions:

- How can I set the fields correct. Like Date, Message Type, message, and other stuff?
- How can I handle the multiline messages like java exceptions?

Hope you can help,

Dennis

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 6, 2019, 12:25pm UTC](https://discuss.elastic.co/t/jira-error-logging-with-logstash-filebeat/198393/2 "2019-09-06T12:25:56Z")

</div>

You can parse that using a [grok](https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html) filter. If you have problems parsing you can adjust the log4j configuration to make it easier to parse .You can use a [multiline codec](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-multiline.html) to merge the lines of a stacktrace.

---

<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 4, 2019, 12:28pm UTC](https://discuss.elastic.co/t/jira-error-logging-with-logstash-filebeat/198393/3 "2019-10-04T12:28:07Z")

</div>

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