Questions tagged [logz.io]
25 questions
14
votes
4 answers
Is there a recommended way to get spring boot to JSON format logs with logback
Using spring boot 2.1.1.RELEASE one can seemingly format logs as JSON by providing a logback-spring.xml file as follows:

David
- 7,652
- 21
- 60
- 98
4
votes
1 answer
How can I export all 8304 hits?
We use logz.io/#/dashboard/kibana to monitor our logs. My filter results in 8304 hits. I want to export them as a CSV for further analysis. When I click on export (next to New, Save, Open, Share, and Auto-refresh) I only get the first 500 hits.

Leevi L
- 1,538
- 2
- 13
- 28
2
votes
1 answer
Using Grok filter out UUID from path string and return path
Here is an example line of the Log I am trying to filter :
Request starting HTTP/1.1 GET http://api0.api.sin/api/social/v1/owner/4b3b60f6-1a54-4fbc-87b5-cc44496a6dbf/feeds/notifications/unread/count
The result I am expecting is the following:
{
…

Natan Girma
- 23
- 5
1
vote
1 answer
Serilog Logz.io not logging
I've been asked to add to my current Serilog sinks also Logz.io(I never used it), I normally use Seq from DataLust.
Here's my configuration part
{
"Name": "LogzIo",
"Args": {
"authToken": "sometoken",
…

advapi
- 3,661
- 4
- 38
- 73
1
vote
0 answers
How to see the logs of a worker container when using Kubernetes Executor in Airflow (not UI)
I have a deployment of Airflow using the Kubernetes Executor storing logs onto a persistent volume, the logs are readable from the UI.
The issue is that with this configuration I can't see the logs in the pod using
kubectl logs -f
Is…

Ismael
- 733
- 6
- 15
1
vote
1 answer
log4net logz.io appender config file pass parameter to listenerUrl and token tags
To setup project to run on multiple environments and use logz.io I need to set different token and listenerUrl values depending of the build definition. Project has log4net.config files set, and idea was to use log4net globalcontext properties to…

Milan
- 203
- 2
- 11
1
vote
1 answer
ingress-nginx logs - lots of weird entries showing up
I'm trying to get my logz.io set up and running and during that process I'm noticing that my ingress controller pod is spitting out a lot of logs. I don't know if its normal or not, but I see a TON of entries in the logs that look like…

Matthew The Terrible
- 1,589
- 5
- 31
- 53
1
vote
2 answers
Shipping logs to Logz.io with NLog fails
I'm just trying to ship some error logs from my ASP.NET MVC 5 app to Logz.io
I'm using NLog to ship my logs.
I've installed NLog and NLog.Web packages
I have the following nlog.config file :

user2687153
- 427
- 5
- 24
1
vote
1 answer
Parsing json using logstash (ELK stack)
I have created a simple json like below
[
{
"Name": "vishnu",
"ID": 1
},
{
"Name": "vishnu",
"ID": 1
}
]
I am holding this values in file named simple.txt . Then i used file beat to listen the file…

Skull
- 1,204
- 16
- 28
1
vote
1 answer
Filter date range "day before yesterday" in json query for logz.io api (elastic search)
Context: Querying logz.io through the API.
The following query returns results for yesterday
{
"size":10000,
"query" : {
"bool" : {
"must" : [
{ "range": { "@timestamp": { "gte": "now-1d/d", "lt": "now/d" } } }
…

Julien Massardier
- 1,326
- 1
- 11
- 29
0
votes
0 answers
Serilog log to logz.io from Azure function
I've got an azure function I need to add logging to logz.io and I'm using Serilog's sink to perform this. On web application with the same key it works in this function not.
here's the program.cs
using Microsoft.Extensions.Hosting;
var host = new…

advapi
- 3,661
- 4
- 38
- 73
0
votes
0 answers
logzio - INVALID_FIELD_VALUE_LENGTH not showing the entire message
I am using logzio and for the bigger payload for the request , the logzio complaints with the tag 'INVALID_FIELD_VALUE_LENGTH'
The message field do not show the complete message.
I would like to know any option is available in logzio to split the…

RagaSGNur
- 199
- 1
- 2
- 15
0
votes
1 answer
Logz.io .Net service
I want to use Logz.io in .Net as a singleton service. The current documentation is not covering this for now.
This is some code I made until now while trying to understand how can I achive my goal...
I added ILogzioService as a dependency to one…

johnykes
- 1,663
- 2
- 9
- 25
0
votes
1 answer
Creating logz.io alert with regex (or custom logic on log fields)
I'm trying to create an alert that has regex in its query/filter parameters
I have the following log lines
[2022-05-01 00:00:00] [Thread-1] ERROR MyLoggerName - Iteration #0. [123456, 456789] - 2 missing data lines in iteration
[2022-05-01…

Mr T.
- 4,278
- 9
- 44
- 61
0
votes
1 answer
Metricbeat (To logz.io) throws "Failed to connect to backoff: x509: certificate signed by unknown authority"
When running metricbeat against logz.io, metricbeat throws the following error:
ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(async(tcp://listener-eu.logz.io:5015)): x509: certificate signed by unknown…

FranzHuber23
- 3,311
- 5
- 24
- 63