Questions tagged [logging]
Systematic recording of events from services and application is a key process within DevOps adoption. Use this tag to describe logging and telemetry questions.
38
questions
-1
votes
0
answers
3
views
How to make a RUM "top 10 list" of URLs showing average time on site per session in Datadog?
I have searched around for a while on how to do this in Datadog, but (a) I'm not sure I'm thinking about the stat properly, and (b) I'm not sure how to do it in Datadog RUM even if I was correct in ...
0
votes
0
answers
26
views
Collecting logs from Kubernetes container file system (not from stdout or stderr)
I am trying to find a way to get Promtail collect logs from a container file system. These logs were not generated using the standard output, which automatically gets discovered by Promtail. They have ...
0
votes
0
answers
382
views
Promtail vs. Grafana Agent
I'm running a couple of containers in a Docker Swarm and am setting up a logging system using Grafana Loki and Grafana (up to ~50GB/log per day max). For log shipping, I'm partly scraping container ...
0
votes
1
answer
38
views
AWS don't gather properly logs in non-blocking mode
I have faced a situation when some of the logs don't gather by awslogs driver.
Awslogs driver with mode = non-blocking and maximum buffer size = 25mb (I have experimented with these values by looking ...
0
votes
0
answers
10
views
What is the easiest way to admin a server with multiple nodes?
One issue as a sysadmin that I'm facing is the logs of 1 day are in 1 server, and the logs of another day are in other server. It's absolute hassle to figure out where the logs of particular day went ...
0
votes
1
answer
97
views
How can I log every command for which an Ansible playbook uses elevated permissions?
I have an Ansible playbook that runs against a Linux target host and uses become to gain elevated permissions for those actions that require it.
For auditing purposes, I need a list of all the Unix ...
3
votes
1
answer
742
views
Keeping Docker logs only in memory
There are various log drivers available for Docker but it looks like all of them persist the logs to disk.
To reduce disk usage I would like to keep the logs only in memory (and limited to a certain ...
0
votes
1
answer
260
views
Does GitLab support searching logs across jobs for specific strings?
I need to find all jobs that failed in a specific fashion, a few methods are viable
One method that would be viable is finding where GitLab stores its log files, and searching them with something ...
3
votes
1
answer
1k
views
Azure Function App logs without Application Insights instance?
I'm a bit confused about my options for Function App logging on Azure. Is Application Insights the only mechanism available to observe the output logged through the function application's context? In ...
1
vote
1
answer
908
views
".format(name, e)) ... google.protobuf.json_format.ParseError: Failed to parse textPayload field: expected string or bytes-like object." GCF logging
I changed the logging in a Google Cloud Function from the built-in Python module logging to google.cloud.logging and I cannot seem to export exceptions and error messages since they have the wrong ...
3
votes
1
answer
3k
views
What is the difference between Fluent Bit and Prometheus?
From what I've seen, Prometheus scrapes data and metrics and displays them and Fluent Bit collects logs and metrics and can output them.
So, are they doing the same thing, i.e. should I choose one ...
1
vote
1
answer
216
views
How can I get logs in real time from a docker container hosted on Digital Ocean
I have a docker container in which I am running Flask and Scrapy.
I noticed that when I run and build my container on my local machine I get logs in real time. However, on an Ubuntu instance hosted on ...
7
votes
1
answer
695
views
How do I find out exactly when a Github personal access token was last used?
A few days ago, I got an email from github saying that a personal access token that we used is in an 'outdated format':
We noticed that an application, TeamCity(ci.support.example.com), owned by an ...
0
votes
1
answer
768
views
How to deploy loki-stack helm chart with CRIO?
I am trying to configure loki-stack using a helm chart to my k8s cluster.
Since my k8s cluster uses CRIO and not docker (which is common nowdays) I need to change the pipeline_stages: config map to ...
2
votes
1
answer
1k
views
How to increase jenkins logger size?
I use Jenkins log recorders as described in docs:
https://www.jenkins.io/doc/book/system-administration/viewing-logs/
It works, but log is only about 255 lines long, which is too short for my ...