Hi,
I'm working on a proof of concept for sending IOC PV put logs to a logging server using caPutLog and Grafana Loki. I'm new to Loki, but my understanding is that it only accepts logs via the HTTP API, different from something like Graylog where you can configure inputs in different formats.
Is anyone using caPutLog and Loki? If so, how do you forward the logs to the server? After some discussions with people working with EPICS here, I can think of the following options:
1. Implement client-side code on the IOC to send directly to Loki (seems to be more work than the other options)
2. Implement a simple server that receives the logs from caPutLog and sends it to Loki
3. (Not sure caPutLog supports this) Get the IOC logs to the system journal/container logs (the IOCs in question are containerised) and then use Grafana Alloy to send them to Loki - is it possible to configure caPutLog to just print the logs to the console, without setting a server?
If anyone has experience or thoughts on this, comments and suggestions are appreciated.
Best regards,
Afonso Mukai
Brazilian Synchrotron Light Laboratory
Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.
Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.
- Replies:
- Re: How to send caPutLog logs to Grafana Loki Anders Lindh Olsson via Tech-talk
- Navigate by Date:
- Prev:
Re: Questions on EPICS 7 NT types and CA → PVAccess migration Simon Rose via Tech-talk
- Next:
Re: [Ext]RE: Help with continuous oscillation of a motor Jesse Hopkins via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
<2026>
- Navigate by Thread:
- Prev:
Re: Yes, Base 7.0.10 was released! Han Lee via Tech-talk
- Next:
Re: How to send caPutLog logs to Grafana Loki Anders Lindh Olsson via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
<2026>
|