Comments (7)
I am just 2 months in to software and the mistake i was doing was the size of the fake log generated by apache was less than buffer size so records were not send to S3 bucket and as soon as i ran infinite fake log generation , i can see that data being transferred by the agent
from amazon-kinesis-agent.
Sorry for the inconvenience. You can enable the debug logging by adding
"log.level": "DEBUG"
or
"log.level": "TRACE"
to agent config file.
But I'll try to switch some of the messages over to ERROR level instead of DEBUG level. The reason why we don't throw these errors by default was that we don't want your log to be screwed (the error could be with each parse and send, thus could be quite frequently)
from amazon-kinesis-agent.
using debug is a pain, once open in debug we start getting 10 of this logs every SECOND:
[DEBUG] FileTailer[fh:pop-bi-data:/home/logs/test.log]: We reached end of file TrackedFile(id=(dev=ca01,ino=401409), path=/home/logs/test.log, lastModifiedTime=1459950502000, size=1070)
from amazon-kinesis-agent.
Switching the error message over to ERROR rather than trace/debug may not make it better. The error code is per record. And there could be up to 500 records per single batch.
You can decide if you want to change it: https://github.com/awslabs/amazon-kinesis-agent/blob/master/src/com/amazon/kinesis/streaming/agent/tailing/KinesisSender.java#L128
from amazon-kinesis-agent.
At the same time, could you also try changing this message from "debug" to "error" to see if it helps?
I'm patching another release to fix the error message too.
from amazon-kinesis-agent.
I've pushed a patch to switch some of the error messages from DEBUG to ERROR.
from amazon-kinesis-agent.
Hey sorry for the delay in responding. Thanks for looking into this an providing a solution.
from amazon-kinesis-agent.
Related Issues (20)
- Allow ./setup --build as non-root
- aws-kinesis-agent-latest.amzn1.noarch.rpm is a vulnerable version HOT 3
- Latest S3 RPM agent download is not the latest agent version
- Build fails on AL2
- Kinesis Agent using EC2 metadata
- Use a vuln free version of fasterxml HOT 1
- No Log output when running with start-aws-kinesis-agent HOT 2
- use aws profile credentials for RPi
- Kinesis Agent 1.1.6 fails to send records when IMDSv2 Tokens are required
- Service fails to connect to checkpoint database on startup HOT 1
- How does kinesis agent log getting logrotate? HOT 1
- Unable to Install kinesis agent HOT 2
- openjdk-11-jdk support HOT 2
- maxBufferAgeMillis does work independently
- workaround for debian / ubuntu install agent with openjdk 1.8 by script
- Kinesis Agent is using out of support AWS Java SDK 1.11.700
- Kinesis Agent 2.0.8 fails to send records using IAM role when IMDSv2 is enabled HOT 1
- Build on SLES fails pointing to Redhat
- Is it possible to user a specific value from the data as the partition key
- Kinesis agent failing to start on ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-agent.