I had a centreon 21.04 with event log page not working. I upgraded to 22.10 and noticed the bug is still here.
I tried a fresh install with vmware ova and yet the bug persist.
When you use the page /centreon/main.php?p=20301 it is not working at all.
Filters using host name or service name or time ranges or non functionnal. All you can get is the list of all events not filtered, but when you click on next page, it ends up on blank page.
The logs are here, you can see them on the Resources status page, but event log page is not working as intended.
I made a video trying to explain this, if anyone has an idea.
The “period” still seems buggy, some typo in code somwhere I guess, I try to find where is the problem
edit:
About the period:
If you select “From” and “To” dates, then select a “Log period”, it clears the “From” and “To” fields BUT they are not cleared, when you analyse request URLs, the from and to are still here and overrides the “Log Period” you selected, even if you can’t see them.
Hi there,
I have the same issue in 22.10.2.
The services filter is not working in Event Logs page even with @tntteam fix
Sorry it is not working for you, did you double check the modified code or file path ?
I see no reason this would work for me but not for you :(
About time period, the problem is, say, you select from 01/12 to 16/12, press “apply period” and eerything is fine, here is the requested uri
But if you select a period, the from date and to date are visually emptied, but are still present in the request (in addition to the period now being populated). I guess the from / to takes over the “period” argument and then it’s never taken in account :
The “period” still seems buggy, some typo in code somwhere I guess, I try to find where is the problem
edit:
About the period:
If you select “From” and “To” dates, then select a “Log period”, it clears the “From” and “To” fields BUT they are not cleared, when you analyse request URLs, the from and to are still here and overrides the “Log Period” you selected, even if you can’t see them.
There is also the period line to adjust. Just change “num” by “period” in both $inputGet and $inputPost