Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #516] Searching in the Icinga Logfile through the Webinterface #248

Closed
icinga-migration opened this issue Jun 18, 2010 · 17 comments
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Jun 18, 2010

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

Assignee: ricardo
Status: Resolved (closed on 2011-04-27 18:28:04 +00:00)
Target Version: 1.4
Last Update: 2014-12-08 09:34:05 +00:00 (in Redmine)


Hey guys,

a college asked me if it's possible to search some specific entries through the webinterface.
He had the problem that he searched at a downtime that was 3 or 4 days ago but don't know which time. He found it by manual searching and scrolling.

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.

Regards,

Fritjof

Attachments

Changesets

2011-03-04 15:41:25 +00:00 by ricardo 84c565c

Implemented searching/filtering through the Icinga Logfile in classic-cgis #516

Fixes: #516

2011-03-14 14:25:33 +00:00 by mfriedrich 14e9084

classic ui: re-order archive_log_path into cgiutils.c

...where it is being written/modified, while readlog.c
only reads those strings. now archived logs can be searched
again.

refs #516
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Jun 26, 2010

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.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Jun 28, 2010

Updated by alokat on 2010-06-28 08:12:59 +00:00

Hey,

jep I mean the classic Webinterface - cgis.

Regards,

alokat

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Jul 9, 2010

Updated by mfriedrich on 2010-07-09 14:46:37 +00:00

  • Category changed from Other to Classic UI
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Jul 30, 2010

Updated by mfriedrich on 2010-07-30 12:14:45 +00:00

  • Project changed from Core, Classic UI, IDOUtils to 19
  • Category deleted Classic UI
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Aug 30, 2010

Updated by mfriedrich on 2010-08-30 08:25:51 +00:00

  • Status changed from New to Assigned
  • Assigned to set to __

@rune

please have a look and if it's worth a try do it :)

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Nov 5, 2010

Updated by mfriedrich on 2010-11-05 17:36:26 +00:00

  • Status changed from Assigned to Feedback

any updates on this?

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Nov 6, 2010

Updated by ricardo on 2010-11-06 22:30:57 +00:00

I would really like to see this as well,

would fit perfectly in https://dev.icinga.org/issues/972

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Jan 10, 2011

Updated by mfriedrich on 2011-01-10 17:08:28 +00:00

  • Priority changed from Normal to Low

this is only possible with a different data storage and should be easily done when changing the backend.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Feb 23, 2011

Updated by ricardo on 2011-02-23 22:24:20 +00:00

  • Assigned to changed from __ to ricardo
  • Target Version set to 1.3
  • Done % changed from 0 to 20

... backend changed.

Will implement this in the next few days.

Just want to make it nice, and add some filters.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 2, 2011

Updated by mfriedrich on 2011-03-02 18:19:50 +00:00

  • Target Version changed from 1.3 to 1.4

this is a feature, and happens to be in 1.4.x branch then.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 4, 2011

Updated by ricardo on 2011-03-04 15:48:59 +00:00

  • Status changed from Feedback to Resolved
  • Done % changed from 20 to 100

done...

please have a look and tell me your opinion!

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 10, 2011

Updated by mfriedrich on 2011-03-10 12:25:33 +00:00

  • File added icinga_classicui_showlog_logentries_01.png
  • File added icinga_classicui_showlog_logentries_02.png
  • File added icinga_classicui_showlog_logentries_03.png
  • Status changed from Resolved to Feedback
  • Done % changed from 100 to 80

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?

icinga_classicui_showlog_logentries_01.png
icinga_classicui_showlog_logentries_02.png
icinga_classicui_showlog_logentries_03.png

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 14, 2011

Updated by mfriedrich on 2011-03-14 20:34:36 +00:00

  • Done % changed from 80 to 90

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 :)

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 14, 2011

Updated by mfriedrich on 2011-03-14 20:34:48 +00:00

  • Priority changed from Low to Normal
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 29, 2011

Updated by mfriedrich on 2011-03-29 15:30:44 +00:00

search works fine for me. maybe others can test too, it's now merged back to master.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 27, 2011

Updated by mfriedrich on 2011-04-27 18:28:04 +00:00

  • Status changed from Feedback to Resolved
  • Done % changed from 90 to 100

best-of-seven target for icinga 1.4

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Dec 8, 2014

Updated by mfriedrich on 2014-12-08 09:34:05 +00:00

  • Project changed from 19 to Core, Classic UI, IDOUtils
  • Category set to Classic UI
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.