Skip to content

Conversation

@jeonghanlee
Copy link
Contributor

Hi Kunal @shroffk and Kay @kasemir

Based on our mode of operation, we want to run the alarm logging service (alarm-logger) as a standalone service.

For the elasticsearch folder relocation with the limited requirement, we've verified that the Pheobus alarm log table and the standalone alarm logging service work well without printing our so many error messages regarding the communication to the alarm server (Kafka). This could be a potential use for independent alarm studies without interfering with a production environment.

Please let us know what you think about this PR.

@jeonghanlee, Soo Ryu, and @Sangil-Lee at ALS-U Controls, LBNL.

P.S. I @jeonghanlee updated the README to reflect the minimal documentation description of the service. It looks like a lot of the documentation will be updated to reflect what we have changed since a couple of years ago. We can discuss them when we have the meeting together later this year or next year.

@kasemir
Copy link
Collaborator

kasemir commented Nov 12, 2024

Fine with me.
For what it's worth, my view of the alarm logger is as a tool that forwards messages from a running alarm system to elastic.
You might be able to replace it with Logstash, input = Kafka, output = elastic.
I then look at the alarm stats in Kibana.
The 'standalone' alarm logger option is mostly for the alarm history table, but you can get that same information from Kibana as well.

@jeonghanlee
Copy link
Contributor Author

jeonghanlee commented Nov 12, 2024

Fine with me. For what it's worth, my view of the alarm logger is as a tool that forwards messages from a running alarm system to elastic. You might be able to replace it with Logstash, input = Kafka, output = elastic. I then look at the alarm stats in Kibana. The 'standalone' alarm logger option is mostly for the alarm history table, but you can get that same information from Kibana as well.

@kasemir I agree with you about the main purpose of the alarm logging service, yes, we can do that through Kibana and something else. However, I would like to keep it at least in some basic way within Phoebus and its service environment. Phoebus Alarm Log Table is not in good shape either, but still it can help users to find and search what Alarm Logging Service can do without any external dependencies.

When Kunal comes back, we can discuss more regarding the final, from my perspective, (I hope) modification. Thank you.

@shroffk shroffk merged commit 7ce4a9d into ControlSystemStudio:master Nov 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants