Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elodina/syslog-service
Go based Syslog service that can run within an infrastructure role on Mesos.
https://github.com/elodina/syslog-service
Last synced: about 1 month ago
JSON representation
Go based Syslog service that can run within an infrastructure role on Mesos.
- Host: GitHub
- URL: https://github.com/elodina/syslog-service
- Owner: elodina
- License: apache-2.0
- Fork: true (CiscoCloud/syslog-service)
- Created: 2015-08-18T23:51:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-22T09:26:08.000Z (over 8 years ago)
- Last Synced: 2024-08-04T04:06:35.574Z (5 months ago)
- Language: Go
- Homepage: http://elodina.github.io/syslog-service/
- Size: 7.63 MB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mesos - Go based Syslog service - service) (Frameworks / Metric collection, logging and visualization)
README
Syslog-Service
======================
Go based Syslog service that can run within an infrastructure role on Mesos.Pre-Requisites
==============- [Golang](http://golang.org/doc/install)
- A standard and working Go workspace setup
- Apache Mesos 0.19 or newerBuild Instructions
=================- Get the project
```
$ cd $GOPATH/src/
$ mkdir -p github.com/elodina
$ cd github.com/elodina
$ git clone https://github.com/elodina/syslog-service.git
$ cd syslog-service
```- Build the scheduler and the executor
```
$ go build cli.go
$ go build executor.go
```Usage
-----Syslog framework ships with command-line utility to manage schedulers and executors:
# ./cli help
Usage:
help: show this message
scheduler: configure and start scheduler
start: start syslog servers
stop: stop syslog servers
update: update configuration
status: get current status of cluster
More help you can get from ./cli -hScheduler Configuration
-----------------------The scheduler is configured through the command line.
# ./cli scheduler
Following options are available:
-master="": Mesos Master addresses.
-api="": Binding host:port for http/artifact server. Optional if SM_API env is set.
-user="": Mesos user. Defaults to current system user.
-log.level="info": Log level. trace|debug|info|warn|error|critical. Defaults to info.
-framework.name="syslog-kafka": Framework name.
-framework.role="*": Framework role.Starting and Stopping Framework
------------------------------# ./cli start|stop
Options available:
-api="": Binding host:port for http/artifact server. Optional if SM_API env is set.
Updating Server Preferences
---------------------------# ./cli update
Following options are available:
-api: Binding host:port for http/artifact server. Optional if SM_API env is set.
-producer.properties: Producer.properties file name.
--broker.list: Kafka broker list separated by comma.
-topic: Topic to produce data to.
-tcp.port: TCP port range to accept.
-udp.port: UDP port range to accept.
-num.producers: Number of producers to launch.
-channel.size: Producer buffer size.Quick start:
-----------```
# export SM_API=http://master:6666
# ./cli scheduler --master master:5050
# ./cli update --broker.list 192.168.3.1:9092 --topic syslog
# ./cli start
```