Code Monkey home page Code Monkey logo

toplog-forwarder-installer's People

Contributors

cameronevans avatar ryannielson avatar waffle-iron avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toplog-forwarder-installer's Issues

Logrotate the logs from the forwarder

my worry is that where it is now will not be part of people's log rotate and hence eat up memory.

have the installer add a file to /etc/logrotate.d/ called toplog

contents:

/usr/bin/toplog/logs/logstash-forwarder.log {
    daily
    rotate 5
    copytruncate
    delaycompress
    compress
    notifempty
    missingok
}

detect if streams already exit in user's account

Right now you have to know to use -a if you want to add to an existing stream, which results in first time users creating a lot of streams if they mess up the config.

The installer should see see that the user already has a stream and list them at the top of the config list and ask them if they want to create a new stream or use an existing stream.

update auth token

Should be able to update auth-token. Useful for setting up multiple forwarders while also being forgetful.

Also could just display the auth token from the installers config in the console.

spaces in stream name

Adding spaces in stream names in the installer seems to results in only first word being created as the stream name

installer improvements

A few things:

  • Apparently we should be installing in /usr/local/ not /usr/bin
  • pick up on streams that exist all teh time (no need for -a) and add them to a list the user sees and can select from (sort of "we noticed you already have streams a, b, c, would you like to use one of them`)
  • check if configs already exist on server and compare against users streams. If no match, ask the user; "We detect outdated configs on this server, would you like us to clean them out for you (recommended)?"

http vs https

doesn't work with app servers that aren't https (dev, staging)

support windows forwarder

compile forwarder as a windows package.

notes on iis file types:
{
"network": {
"servers": [ "[ServerIP]" ],
"ssl ca": "[location of cert from logstash server]",
"timeout": 300
},
"files": [
{
"type": [ "iis" ],
"paths": [
"[Log File Location]" ],
"dead time": "24h"
}
]
}

add/create stream w/existing forwarder

Need the ability to modify, delete and add streams to an already installed forwarder.

github repo: "You can also read an entire directory of JSON configs by specifying a directory instead of a file with the -config option."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.