packit / deployment

Ansible playbooks and scripts for deploying packit-service to OpenShift
MIT License
8 stars 25 forks source link

MP+ logging to Splunk #519

Closed jpopelka closed 9 months ago

jpopelka commented 1 year ago

Our image for sending logs to Splunk

Per internal docs the logs from MP+ nodes should automatically go to Splunk if we log to stdout so we probably don't need to do the log-forwarding ourselves anymore.

For example this search query seems to work OK.

The task here is to:

mfocko commented 1 year ago

IIRC the ESS requires logging, am I to naïve, if I expect them to have some logging in-place within the cluster?

jpopelka commented 1 year ago

The SEC-MON-REQ-1 (Logging & Monitoring) is only for RH Internal/Restricted classified data (not our case) and the SEC-NET-REQ-5 (Monitor Egress - outgoing internet traffic) is about logging outgoing network connections (i.e. logging on the infra/networking level, not application level, AFAIK), so we're not required to do that.

Yes, I was also expecting something more streamlined than "build your own splunk forwarder image from our Dockerfile and run it as a sidecar container in each pod".

lachmanfrantisek commented 1 year ago

Please, ask if you need any help when working on that.

jpopelka commented 1 year ago

I was either blind or reading too hastily because the docs is quite clear that we just need to log to stdout to see the logs in Splunk. I updated the description above.

majamassarini commented 1 year ago

Wait for both stg and prod instances be in MP+ before merging PR.

mfocko commented 9 months ago

We're actually using it for some time already, I just need to clean up my branch and merge it, so I think that we can close this as done. :)