Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logagent-setup makes journald-upload receiver #239

Merged
merged 4 commits into from
Jul 20, 2020

Commits on Jun 19, 2020

  1. logagent-setup makes journald-upload receiver

    For systemd users, you'd need a command like:
    ```
    logagent-setup -i TOKEN_GOES_HERE -j
    ```
    The `-j` part signals that we don't want to tail `/var/log`, but rather accept input from `systemd-journal-upload`. Without `-j`, there should be no difference.
    
    With `-j`, we do the following:
    - install `systemd-journal-upload` if it doesn't exist (via `apt-get` or `yum`)
    - set up `logagent.conf` to listen to `localhost:5731` (a random port) and parse journal data
    - set up `journal-upload.conf` to send data to `localhost:5731` using the provided token
    - restart both journald-upload and logagent
    radu-gheorghe authored Jun 19, 2020
    Configuration menu
    Copy the full SHA
    bf3d6fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a33717 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. simplify conditional

    Co-authored-by: Ciprian Hacman <ciprian.hacman@sematext.com>
    radu-gheorghe and Ciprian Hacman authored Jun 24, 2020
    Configuration menu
    Copy the full SHA
    ac01cec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8e2362 View commit details
    Browse the repository at this point in the history