# MS Office 365 beat

**URL:** <https://discuss.elastic.co/t/ms-office-365-beat/105860>\
**Category:** Beats\
**Created:** [October 31, 2017, 9:38am UTC](https://discuss.elastic.co/t/ms-office-365-beat/105860 "2017-10-31T09:38:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saif/32/37431_2.png) [@saif](https://discuss.elastic.co/u/saif)\
**Post date:** [October 31, 2017, 9:38am UTC](https://discuss.elastic.co/t/ms-office-365-beat/105860/1 "2017-10-31T09:38:09Z")

</div>

Hello,

I'm trying to find a scenario to get logs(audit, security) from Office365.  
O365 have an API called : Office365 Management Logs  
so how to collect these logs and send it to logstash via filebeat

i resume

O365 API \<= API client =\> .logfile \<=filebeat=\> logstash=\>ES cluster ? correct ?

thnak you 🙂

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [November 1, 2017, 8:14pm UTC](https://discuss.elastic.co/t/ms-office-365-beat/105860/2 "2017-11-01T20:14:09Z")

</div>

Someone else was asking this too in [Offcice 365 with beat?](https://discuss.elastic.co/t/offcice-365-with-beat/95267).

I think you could do then entirely with a custom Beat that subscribes to the feed over HTTPS and publishes the events. We have a [developer guide](https://www.elastic.co/guide/en/beats/libbeat/current/new-beat.html) if you want to try building one and there are numerous other [community developed Beats](https://www.elastic.co/guide/en/beats/libbeat/current/community-beats.html).

---

<div class="post-metadata">

**Author:** ![tatdat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatdat/32/113160_2.png) [@tatdat](https://discuss.elastic.co/u/tatdat)\
**Post date:** [November 2, 2017, 7:57am UTC](https://discuss.elastic.co/t/ms-office-365-beat/105860/3 "2017-11-02T07:57:15Z")

</div>

@saif It's correctly!

---

<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:** [November 21, 2017, 9:38am UTC](https://discuss.elastic.co/t/ms-office-365-beat/105860/4 "2017-11-21T09:38:26Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
