Skip to content

artirix/fals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Format-Agnostic Log Shipper

The application tails specified logs and ships any additions to an Amazon Kinesis Firehose delivery stream.

Firehose record payload

The created Firehose record is a list of one or more objects separated with newlines, with the following specification:

{"Project": string, "Env": string, "Component": string, "Text": string, "Timestamp": int64}

Configuration: config.json

  • aws_region: The region of the Kinesis Firehose delivery stream
  • aws_access_key: AWS access key with an attached policy allowing PutRecord on the Firehose stream
  • aws_secret_key: AWS secret key
  • firehose_stream_name: The Kinesis Firehose delivery stream name
  • project: included as Project value in every posted JSON object
  • env: included as Env value in every posted JSON object
  • shipping_interval: interval to POST requests, in seconds
  • components: a list of component names and their respective log files to monitor for updates
    • name: name of the component
    • file: path to log file

About

Format-Agnostic Log Shipper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages