# Using ElasticSearch to Store and Correlate Ntopng Alarms | ntop

> With the introduction of ntopng endpoints and recipients, it is now possible to handle alerts in a flexible fashion by means of recipients. ntopng embeds a SQ

[Blog](https://www.ntop.org/blog/)[ntop](https://www.ntop.org/category/ntop/)[ntopng](https://www.ntop.org/category/ntopng/)

# Using ElasticSearch to Store and Correlate Ntopng Alarms

October 14, 20201 min read

With the introduction of [ntopng endpoints and recipients](https://www.ntop.org/using-ntopng-recipients-and-endpoints-for-flexible-alert-handling/), it is now possible to handle alerts in a flexible fashion by means of recipients. ntopng embeds a SQLite database for turn-key alert storage and reporting. However in large organizations with many alerts scalability of this solution is limited due to the limited number of records (16k) that can be handled. In the latest ntopng 4.1.x versions it is now possible to export alerts in an external [ElasticSearch](http://elastic.co) database (not available in the community edition). This post shows you how to use this integration in ntopng 4.1.x and soon 4.2.

As shown in the video the first element to create is an endpoint for ElasticSearch that points to the instance running on our datacenter or on the same host where ntopng is running.

![](/images/2020/10/Screen-Shot-2020-10-14-at-11.10.27.webp)

At this point you need to define a recipient for this Endpoint

![](/images/2020/10/Screen-Shot-2020-10-14-at-11.10.42.webp)

In order to instruct ntopng to send notifications are sent to this recipient you need to configure the pools that use this recipient.

![](/images/2020/10/Screen_Shot_2020-10-14_at_11_11_04.webp)

This is done by clicking on the icon highlighted by the arrow in the above picture that will bing you to the pools page.

![](/images/2020/10/Screen-Shot-2020-10-14-at-11.12.38.webp)

For each entity (Hosts, Flows, SNMP…) for which you want to deliver alerts, you need to click on edit and specify on the dropdown menu the list of recipients to which notifications will be delivered. Note that you have always a built-in SQLite recipient enabled and used by ntopng to display alerts in the web GUI.

If you want to check if the notification delivery is working you can check (see the picture below) if the number of uses increases.

![](/images/2020/10/Screen_Shot_2020-10-14_at_11_11_04-1.webp)

At this points alerts are stored in Elastic and they can visualised and explored using Kibana. In order to do that you first need to create an index pattern (menu “Stack Management” -> “Index Patterns”) selecting @timestamp as index as shown in the picture below.

![](/images/2020/10/Screen-Shot-2020-10-12-at-17.17.02.webp)

Done this you can visualize alerts and create beautiful dashboards with them

![](/images/2020/10/Screen-Shot-2020-10-12-at-17.21.21.webp)

Enjoy !

## Keep reading

nDPINov 7, 2026

### [Detecting CVE-2026-98432 using nDPI/ntopng](https://www.ntop.org/detecting-cve-2026-98432-using-ndpi-ntopng/)

CVE-2026-98432 is a critical, 9.8-severity use-after-free (UAF) vulnerability in the Linux kernel’s IPv4 TCP networking stack. It allows an unauthenticated remote attacker to potentially cause system crashes, memory corruption, or execute arbitrary commands with root privileges. From a network stand

[![](/images/2026/09/Screenshot-2026-09-09-151028-1.webp)](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

AnnounceOct 5, 2026

### [October 20th: Join us for the ntopng 7.0 Webinar](https://www.ntop.org/october-20th-join-us-for-the-ntopng-7-0-webinar/)

Is your network monitoring keeping pace with AI, larger infrastructures, and the growing need for real observability? We’re excited to introduce ntopng 7.0, alongside new releases of the rest of the ntop…

[![](/images/2026/09/Screenshot-2026-09-09-163410-1.webp)](https://www.ntop.org/ntopng-user-interface-introducing-the-new-navigation-bar/)

ntopngSep 21, 2026

### [ntopng User Interface: Introducing the New Navigation Bar](https://www.ntop.org/ntopng-user-interface-introducing-the-new-navigation-bar/)

In our continuous effort to improve user experience and make network monitoring more intuitive, we have completely redesigned the ntopng Navigation Bar. As our feature set expands—with crucial additions like the nAnalyst…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/using-elasticsearch-to-store-and-correlate-ntopng-alarms/