Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Fluentd forwarder in k8s behind ELB with https

I'm running Fluentd in K8s (in Rancher) from a helm chart, to act as a forwarder from applications that aren't running in k8s. My config is fairly straightforward: --- configMaps: useDefaults: ...
0
votes
1answer
16 views

What software ihandles shipping to ElasticSearch the standard output of a .NET Core web application running in a container?

I have a ballpark idea of how the ELK stack works. I read that by default, standard output is captured and that output will make its way to the Elasticsearch repository. If I post something to stdout, ...
1
vote
1answer
27 views

How to parse command output (docker log) through goaccess?

How to parse docker logs output / tail output through goaccess? When I do: docker container logs mycontainer > logs and then goaccess -f logs it works perfectly, but if I do docker logs --tail ...
-1
votes
1answer
33 views

Reducing number of lines in log file

Some commands I run will overwrite the current line. For example, curl -O <100 MB file> will give me: % Total % Received % Xferd Average Speed Time Time Time Current ...
1
vote
0answers
35 views

Fluentd log shipment. Index assigning

I'm using Fluentd for shipping two types of logs to Elasticsearch cluster (application and syslog). And I'd like to assign different indices to them. Here is my try but it doesn't work. Could anybody ...
0
votes
1answer
22 views

Problem with logging in docker when using fluentd for logging of three flask apps running in a docker network behind an nginx

I am facing a strange problem with logging when I set up a network of three docker containers each running a small flask app. My python application looks as follows: from flask import Flask, request ...
0
votes
0answers
13 views

Packer : write output per builder into separate log files

I have a few packer templates which have several builders - up to 5 per template. This makes it very easy to provision all the resources necessary in a pipeline -- however by default packer writes all ...
1
vote
1answer
29 views

What considerations should be taken into account for a good log file format?

We have a practical question I struggle to answer : What is a good logfile schema? Here are the caveats: There are several workloads, each writing more than one log file Applications are on more ...
0
votes
1answer
23 views

View logrotated log continuously

Is there a command to view logrotated logs as a continuous stream with proper ordering? I need to view all entries in syslog in historical order starting from the oldest entry available. So far I was ...
0
votes
1answer
65 views

azure activity log, how to find releases

My security department has asked to ingest logs from Azure with the goal being to identity releases. The security team wants to be able to say: Hey, there was a release on mm/dd/yyyy at noon (...
0
votes
0answers
283 views

AWS Log Insights

I tried out this new service recently but I'm in trouble with the query syntax. Do you know how to Search for given error message types based on string snippets from @message, Visualize these ...
0
votes
1answer
464 views

How to redirect tomcat logs TO console?

So I have a problem that is the reverse of what everyone else on the internet wants.. I want to take tomcat logs that are being written out to /usr/local/tomcat/logs and have them be output to console ...
0
votes
1answer
40 views

Dynamically grep with less/tail [closed]

when tailing a log file, we might use: tail -f foo.log | grep bar if we want to change the grep argument, we have to ctrl-c and then change the argument and then restart the command. my question is ...
1
vote
0answers
2k views

How to debug a docker on web app for containers in Azure which does not start

I am able to run my containers locally. I published them to container registry. And the deployment from container registry to web apps for containers is successful. But the service does not turn ...
1
vote
1answer
74 views

What are the best logging/metrics reporting tools for use with OpenShift?

OpenShift includes EFK and I'm looking into using that or ELK, but there are so many options (found a link with 50+ options) that I'm trying to narrow down. Ideally something free/cheap. What is the ...
1
vote
0answers
38 views

How can I easily convert logstash filters with grok to ingest pipelines? [duplicate]

Logstash has ingest-convert.sh to convert ingest pipelines to Logstash, but I'd like to convert the other way around. I have the 23-Tomcat-filters and grok_patterns file. Is there any smart way ...
3
votes
1answer
432 views

Should I use filebeat or an app-logging module with lumberjack capabilities to collect my logs

I have a pretty basic elk setup which aggregates logs from around 15 VMs that are running various services. All of them have configured filebeat syslog forwarder with a single input in logstash. I ...
2
votes
3answers
157 views

Automatic periodic conditional checks

I need a simple tool that will carry out some conditional checks periodically and give me a red/green status that I can use as an indication that something is wrong. These are examples of checks that ...
4
votes
3answers
82 views

Ideal methods of handling server logs on AWS

We currently have some ruby applications hosted on EC2 servers on AWS, and every few weeks we see the disk space get completely consumed by the app log as well as the worker logs. What are the best ...
10
votes
1answer
263 views

What exactly is the cloud term 'a Firehose'?

I found a Firehose definition from Overview of the Loggregator System Cloud Foundry docs. The Firehose is a WebSocket endpoint that streams all the event data coming from a Cloud Foundry ...
9
votes
7answers
42k views

How Do I Log Task Output To A File?

One of my ansible tasks imports an Oracle database using impdp. This generates a lot of output to the console so I have set no_log: True. However, when this fails I want to see the log! How can I ...
1
vote
2answers
7k views

How to get memory usage per process with sar, sysstat?

Can I get memory usage per process with Linux? we monitor our servers with sysstat/sar. But besides seeing that memory went off the roof at some point, we can't pinpoint which process was getting ...
7
votes
2answers
358 views

What strategies can be employed to secure sensitive data in log files?

Working in highly regulated environments data is classified in different ways depending on the sensitivity. In some cases, this is legally enforced and must be treated differently. Examples of a data ...
20
votes
2answers
6k views

How to have multiple log streams in docker

We have an application that writes three types of logs into three separate files: access logs, generic application logs and system logs. The format (and purpose) of these logs are very different. And ...
14
votes
2answers
295 views

What is a good logging practice for distributed tasks?

I have the following setting: Create multiple workers, do a computation and terminate them after the computation is done. So, every-time it’ll be a different instance running the task, so each ...