* Update ElasticSearch.cpp
Correctly manage ES_BULK_BUFFER_SIZE avoiding last inserted flow truncate in buffer.
* Update ElasticSearch.cpp
Reviewed in deep the exact buffer allocation, now at the last iteration it correctly considers the length of future header and future tail-str (plus double \n and null termination) to check if there is sufficient available space in the buffer.
* Added shell endpoint user guide
* Fixes#2115 std::new exceptions not always handled
* Removed a nothrow due to the insert of a try-catch statement
* Trying to implement #4421
Co-authored-by: matteo <biscosi@ntop.org>
Implements #3105
Initial work to add elastisearch alerts
Initial implementation of ES alerts
Implements version check
Implements flow alerts format
Changes Elasticsearch index name
Comments the Elasticsearch alert endpoint
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.