Can someone please tell me is there any way to get the logs for the alertmanager pod to include any firing alerts?
$ kubectl logs alertmanager-main-0 -n monitoring -c alertmanager
level=info ts=2018-03-11T13:19:37.260119204Z caller=main.go:136 msg="Starting Alertmanager" version="(version=0.14.0, branch=HEAD, revision=30af4d051b37ce817ea7e35b56c57a0e2ec9dbb0)"
level=info ts=2018-03-11T13:19:37.260340376Z caller=main.go:137 build_context="(go=go1.9.2, user=root@37b6a49ebba9, date=20180213-08:16:42)"
level=info ts=2018-03-11T13:19:37.302733894Z caller=main.go:275 msg="Loading configuration file" file=/etc/alertmanager/config/alertmanager.yaml
level=info ts=2018-03-11T13:19:37.332733105Z caller=main.go:350 msg=Listening address=:9093
level=info ts=2018-03-11T13:34:37.261513558Z caller=silence.go:269 component=silences msg="Running maintenance"
level=info ts=2018-03-11T13:34:37.261702547Z caller=nflog.go:293 component=nflog msg="Running maintenance"
level=info ts=2018-03-11T13:34:37.26728836Z caller=silence.go:271 component=silences msg="Maintenance done" duration=5.794022ms size=0
level=info ts=2018-03-11T13:34:37.268134833Z caller=nflog.go:295 component=nflog msg="Maintenance done" duration=6.447975ms size=0
Perhaps if a more verbose log level (than whatever the default is for alertmanager - I presume "info") of alertmanager does include firing alerts in the pod, then i could simply specify that level? But unfortunately
AlertmanagerSpec doesn't have a field to allow me to specify the log level.
Any suggestions would be greatly appreciated. thank you!