MHMDhub / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

UI Enhancement - Header or footer specifying the total # of logs available for searching across X nodes. #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
An idea for a little enhancement...in the main query page, as a header or 
footer:

"Searching X [million/billion/trillion] logs across Y nodes!" or somesuch.

I believe the data is there (please correct me if I'm wrong in that this 
wouldn't be the best place to pull these numbers from for each node):

  select sum(count) from stats where archive='load';

This query would occur on each node in a similar fashion to the query for the 
start/stop times of each index are pulled to provide the earliest and latest 
dates available for logs and the numbers added together and formatted for 
millions or billions.

It would be really sexy if you allowed the query to update every 30 seconds or 
so, so you could see the numbers increase in near real-time.

Original issue reported on code.google.com by jeffrey....@gmail.com on 27 Aug 2012 at 10:18

GoogleCodeExporter commented 8 years ago
Alternatively, or additionally, you could also have the message display the 
total size (in bytes) of the logs.

"Searching X [million/billion/trillion] logs across Y nodes spanning Z GB/TB!"

And also...maybe replace "Searching" with something that indicates the logs are 
available for searching, as opposed to implying that one would always be 
searching that many logs with their queries.

Original comment by jeffrey....@gmail.com on 27 Aug 2012 at 10:21

GoogleCodeExporter commented 8 years ago
Yes, that should be trivial to add.  The data is already collected on a 
per-query basis, so it just needs to ride back on the client requests to update 
a local counter.  I think the query update would be a bit too many moving 
parts, but updating after each query would be very easy.  I'll work on this.

Original comment by mchol...@gmail.com on 27 Aug 2012 at 10:22

GoogleCodeExporter commented 8 years ago
Done in rev 402

Original comment by mchol...@gmail.com on 28 Aug 2012 at 3:55