# Ingest IBM MQ logs to Elasticsearch using filebeat module

**URL:** <https://discuss.elastic.co/t/ingest-ibm-mq-logs-to-elasticsearch-using-filebeat-module/208152>\
**Category:** Beats\
**Tags:** beats-module\
**Created:** [November 16, 2019, 9:30am UTC](https://discuss.elastic.co/t/ingest-ibm-mq-logs-to-elasticsearch-using-filebeat-module/208152 "2019-11-16T09:30:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mladen](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mladen](https://discuss.elastic.co/u/mladen)\
**Post date:** [November 16, 2019, 9:30am UTC](https://discuss.elastic.co/t/ingest-ibm-mq-logs-to-elasticsearch-using-filebeat-module/208152/1 "2019-11-16T09:30:07Z")

</div>

Hello,

Recently I installed filebeat 7.4.2 and enabled IBM MQ module. After applying new configuration I didn’t get any data to elasticsearch. Inspecting logs, I found following line:

`Nov 15 16:07:30 ******** filebeat[16239]: 2019-11-15T16:07:30.797+0100 INFO log/input.go:152 Configured paths: [/var/mqm/*.LOG* /var/mqm/qmgrs/*/*.LOG*]`

I released that the default configure log paths is incorrect. With var.paths I have setup right location for logs:

`/var/mqm/qmgrs/*/errors/*.LOG*`

After applying configuration, I get following logs:

```
Nov 15 21:30:33 ******** filebeat[23423]: 2019-11-15T21:30:33.718+0100 INFO log/harvester.go:251 Harvester started for file: /var/mqm/qmgrs/QMRAZ1/errors/AMQERR03.LOG
Nov 15 21:30:33 ******** filebeat[23423]: 2019-11-15T21:30:33.718+0100 INFO log/harvester.go:251 Harvester started for file: /var/mqm/qmgrs/QMRAZ2/errors/AMQERR01.LOG
Nov 15 21:30:33 ******** filebeat[23423]: 2019-11-15T21:30:33.737+0100 INFO log/harvester.go:251 Harvester started for file: /var/mqm/qmgrs/QMRAZ2/errors/AMQERR02.LOG
Nov 15 21:30:33 ******** filebeat[23423]: 2019-11-15T21:30:33.762+0100 INFO log/harvester.go:251 Harvester started for file: /var/mqm/qmgrs/QMRAZ2/errors/AMQERR03.LOG
Nov 15 21:30:33 ******** filebeat[23423]: 2019-11-15T21:30:33.764+0100 INFO log/harvester.go:251 Harvester started for file: /var/mqm/qmgrs/QMRAZ1/errors/AMQERR02.LOG
Nov 15 21:30:33 ******** filebeat[23423]: 2019-11-15T21:30:33.783+0100 INFO log/harvester.go:251 Harvester started for file: /var/mqm/qmgrs/QMRAZ1/errors/AMQERR01.LOG

```

But still I was not able to see any logs in elasticsearch. I have checked ingest pipeline and it seems OK to me.

Has anyone run into the same problem?

---

<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:** [December 14, 2019, 11:30am UTC](https://discuss.elastic.co/t/ingest-ibm-mq-logs-to-elasticsearch-using-filebeat-module/208152/2 "2019-12-14T11:30:14Z")

</div>

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