Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #516] Searching in the Icinga Logfile through the Webinterface #248
This issue has been migrated from Redmine: https://dev.icinga.com/issues/516
Created by alokat on 2010-06-18 08:56:01 +00:00
a college asked me if it's possible to search some specific entries through the webinterface.
So that's why I opened this feature case. It would be a great help if you can implement a search window in the LogFile display, cause if you have some big LogFiles the search time is long too.
2011-03-04 15:41:25 +00:00 by ricardo 84c565c
2011-03-14 14:25:33 +00:00 by mfriedrich 14e9084
Updated by mfriedrich on 2010-06-26 14:03:06 +00:00
is this meant to be for the classical ui (cgis) or the new web?
searching through all logfiles (or given period) by specific attributes might be possible since livestatus and frontends do the same for historical related stuff.
would be good to examine how they resolve that and then start to think how this can be easily resolved.
if you have idoutils and enabled logging into the database, the new icinga web might search through that rather easy. this would be a feature request over there then.
Updated by ricardo on 2011-02-23 22:24:20 +00:00
... backend changed.
Will implement this in the next few days.
Just want to make it nice, and add some filters.
Updated by mfriedrich on 2011-03-10 12:25:33 +00:00
i need to reopen - i've merged your commits into my branch, and put on my dev box.
i'm opening the event log, getting single showlog.cgi as url target.
then i'll click on "earlier archive" with showlog.cgi?timeperiod=singleday&order=new2old&ts_start=1299625200&ts_end=1299711599
this should read archives/icinga-03-10-2011-00.log and archives/icinga-03-09-2011-00.log
but instead it moans about 'no log entries found!'
when going forward and backwards in time, the same thing happens. might it be possible that the 'archives' directory prefix is missing then if not "today" selected?
see the 3 attached images.
ps: showlog.cgi doesn't allow to pause the refresh - bug?
Updated by mfriedrich on 2011-03-14 20:34:36 +00:00
from my final tests, resolving the log_archive_path into adding more filters simply on a very modular code, i still need to verify the searching as is.
but in fact it's a very good implementation, and will truly kick ass when released :)