Hi All,
I’m trying to display Phoebus alarm history from elastic search using the “Alarm Log Table”. But there is an error:
[org.phoebus.framework.jobs] Job 'searching alarm log messages for : *' failed
com.sun.jersey.api.client.UniformInterfaceException: GET
http://localhost:9200/search/alarm?current_message=*&severity=*¤t_severity=*&size=10000&pv=*&root=*&start=7+days&host=*&end=now&message=*&user=*&command=* returned a response status of 405 Method Not Allowed
I use Phoebus 4.6, elastic search 8.6. Kibana. Phoebus alarm table can display the active alarms.
Looking at the elastic-search with Kibana and curl, the data there look perfectly fine.
For Phoebus, I added following settings according to the template (settings_template.ini) :
###################################################
# Package org.phoebus.applications.alarm.logging.ui
###################################################
org.phoebus.applications.alarm.logging.ui/service_uri =
http://localhost:9200
org.phoebus.applications.alarm.logging.ui/results_max_size = 10000
Is there anything wrong? How do I fix this error? Any reply is appreciated.
Best regards,
Lotus Gao