# Need to ingest maillog generated by sendmail to Elasticsearch

**URL:** https://discuss.elastic.co/t/need-to-ingest-maillog-generated-by-sendmail-to-elasticsearch/243598
**Category:** Logstash
**Created:** [August 3, 2020, 3:24pm UTC](https://discuss.elastic.co/t/need-to-ingest-maillog-generated-by-sendmail-to-elasticsearch/243598 "2020-08-03T15:24:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xzelkworld](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xzelkworld/32/45765_2.png) [@xzelkworld](https://discuss.elastic.co/u/xzelkworld)
#### Post date: [August 3, 2020, 3:24pm UTC](https://discuss.elastic.co/t/need-to-ingest-maillog-generated-by-sendmail-to-elasticsearch/243598/1 "2020-08-03T15:24:37Z")

</div>

We need to ingest sendmail process generated maillog into Elasticsearch cluster. I have created latest installations of filebeat/logstash/elasticsearch stack on my test environment. I did Google search and found this is close to what I need:

- [postfix maillog to Elasticsearch](https://github.com/ActionScripted/elastic-kibana-postfix)
- [postfix grok patterns](https://github.com/whyscream/postfix-grok-patterns)

However, those are for postfix. Right now I'm using sendmail, and I'm not sure how to change above resources to fit into sendmail maillog data ingestion. I also have opendkim process writing into same maillog as sendmail writes to.

Thank you,

Xinhuan

---

<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 31, 2020, 3:24pm UTC](https://discuss.elastic.co/t/need-to-ingest-maillog-generated-by-sendmail-to-elasticsearch/243598/2 "2020-08-31T15:24:41Z")

</div>

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