# Unifi Ubiquity USG IPS Suricata Filebeat Logging

**URL:** <https://discuss.elastic.co/t/unifi-ubiquity-usg-ips-suricata-filebeat-logging/229891>\
**Category:** SIEM\
**Created:** [April 27, 2020, 4:06am UTC](https://discuss.elastic.co/t/unifi-ubiquity-usg-ips-suricata-filebeat-logging/229891 "2020-04-27T04:06:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [April 27, 2020, 4:06am UTC](https://discuss.elastic.co/t/unifi-ubiquity-usg-ips-suricata-filebeat-logging/229891/1 "2020-04-27T04:06:53Z")

</div>

So with some help from multiple sources. On Elastic 7.6.2 and Unifi Controller 5.12.66

  

> **[caglar10ur/elk-usg](https://github.com/caglar10ur/elk-usg/#build-beats-for-mips64-and-put-them-under-elk-usg)**
>
> Elasticsearch / Kibana for USG. Contribute to caglar10ur/elk-usg development by creating an account on GitHub.

  
[https://redmine.openinfosecfoundation.org/projects/suricata/wiki/\_Logstash\_Kibana\_and\_Suricata\_JSON\_output](https://redmine.openinfosecfoundation.org/projects/suricata/wiki/_Logstash_Kibana_and_Suricata_JSON_output)

[https://pastebin.com/xASkU5dm](https://pastebin.com/xASkU5dm)  
Here is how you install Filebeat on the USG with the Suricata module and what you need to edit in the suricata\*.yaml files in order to send your events/alerts to ES.

Unifi has been dragging their feet on getting the logs outside these devices.  
Items left to do here is see if the suricata\*.yaml files get overwritten and find a way to get Filebeat to run as a service. You couldn't just install filebeat as you see in the youtube because you recompile it for mips64

---

<div class="post-metadata">

**Author:** ![Dallas\_Toth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dallas_toth/32/22630_2.png) [@Dallas\_Toth](https://discuss.elastic.co/u/Dallas_Toth)\
**Post date:** [May 14, 2020, 3:47pm UTC](https://discuss.elastic.co/t/unifi-ubiquity-usg-ips-suricata-filebeat-logging/229891/2 "2020-05-14T15:47:17Z")

</div>

FYI the firmware updates will wipe out all your changes on the USG and you will need to re input the surcata\*.yaml changes as well as redeploy the filebeat mips service.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 14, 2020, 10:49pm UTC](https://discuss.elastic.co/t/unifi-ubiquity-usg-ips-suricata-filebeat-logging/229891/3 "2020-05-14T22:49:20Z")

</div>

Yeah that's a real PITA for things like USGs. When I set this up a while back, I did find a blog/post/something to script a reinstall process, but I can't find it now sorry ☹

---

<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:** [June 11, 2020, 10:49pm UTC](https://discuss.elastic.co/t/unifi-ubiquity-usg-ips-suricata-filebeat-logging/229891/4 "2020-06-11T22:49:23Z")

</div>

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