Commit graph

23 commits

Author SHA1 Message Date
emanuele-f
6f94f7b132 Add thread names for debugging 2019-02-21 11:51:57 +01:00
emanuele-f
5a88ee91da Rework flow exporters API
Now ElasticSearch and LogStash are bind to a NetworkInterface instance

Closes #2312
2019-01-15 12:53:21 +01:00
emanuele-f
4feb75a152 Rework flow exporter counters
Fixes #2300
2019-01-14 14:09:33 +01:00
Alfredo Cardigliano
98adc8a79f Added timeout support to postHTTPJsonData, ntop.postHTTPJsonData now accepts an optional timeout arg, added webhook timeout check 2019-01-07 23:36:39 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
emanuele-f
0ed6a300eb Harden strncpy calls to ensure null terminated strings 2018-12-13 18:07:51 +01:00
Simone Mainardi
859e85c7ce Fixes C to Lua integer types conversions affecting OS X 2018-11-23 15:58:38 +01:00
Simone Mainardi
080c2ff5bf Implements support for ElasticSearch version 6 2018-05-07 13:04:55 +02:00
Luca Deri
0751147ff8 Added HTTP transfer stats 2018-03-27 22:49:50 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
99b67b16ad Remove old nedge define and move to new one 2018-02-09 13:01:08 +01:00
emanuele-f
53d2505edc Fix ElasticSearch bulk requests to boost performance.
- Allow to batch more than 8 requests in one http POST
- Extend the requests buffer size to 1 megabyte
- Use a timeout to prevent eccessive buffering
2018-02-06 16:52:35 +01:00
Luca Deri
c9ecd931d9 Code cleanup 2017-12-16 08:23:56 +01:00
Luca Deri
074a08e7ce Simplified ntopng when nEdge is used 2017-10-21 15:36:28 +02:00
Luca Deri
f0b3ef0e1f code cleanup 2017-06-06 09:41:10 +02:00
Antonio Mallia
976c871b97 Mismatching allocation and deallocation: postbuf 2017-06-06 01:51:02 +01:00
Simone Mainardi
886df5e319 Test and rework of logstash export 2017-04-03 23:58:12 +02:00
Luca Deri
1518727207 Added logstatsh to the -h
Minor cosmetic changes and minor code changes to use ntopng classes
2017-03-26 22:01:36 +02:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
482c2ca834 Implements counter resets
This commits adds two reset buttons to the interface page.

One button allows the reset of all interface counters, namely,
packets and bytes received, packets dropped, and the number of
flows exported and dropped (when mysql or elasticsearch is enabled).

The other button allows the reset of only the drops.
2016-12-21 12:48:04 +01:00
Simone Mainardi
74c4affc30 Implements ElasticSearch flow export statistics 2016-08-29 10:05:29 +02:00
Luca Deri
82ff3aa2f4 Removed un-necessary comment
Drop message in ELK ahppens just once
2016-07-06 21:55:15 +02:00
valentina
8a367fac29 Added list of message instead of using redis in order to manage the dump of flow in ELK.
Added traces for flow drops.
2016-04-21 08:40:19 +02:00