Re: Pull last 100 flow alerts - help

Emanuele Faranda <[email protected]>
Newsgroups gmane.linux.ntop.devel
Message-ID <[email protected]>
Hi,

What about quering the alerts database directly? It's location is 
"/var/lib/ntopng/1/alerts/alerts_v7.db" where 1 is the interface id.

Otherwise, please look at the following function:

https://github.com/ntop/ntopng/blob/dev/scripts/lua/modules/alert_utils.lua#L368

Emanuele

On 9/4/18 5:20 PM, Rory Swann wrote:
>
> Hello,
>
>
> I'm looking for a way to pull the last 100 flow alerts and export 
> them? Does anyone happen to have a .lua script sitting around that'll 
> do this?
>
>
> Thanks!
>
> Rory
>
>
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.