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

Add agent uninstall instructions to Readme #236

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,48 @@ wget -O- https://repo.logdna.com/logdna.gpg | sudo apt-key add -
sudo apt-get update
```

## Uninstalling the Agent

### Centos

`sudo yum remove logdna-agent`

### Debian

`sudo apt-get remove logdna-agent`

### macOS

`sudo launchctl unload -w /Library/LaunchDaemons/com.logdna.logdna-agent.plist`

### Kubernetes

`kubectl delete ds logdna-agent`

### SysLog

Edit your /etc/syslog.conf to remove the following line:

`*.* @syslog-a.logdna.com:<PORT>`

### Docker

```
docker stop <container id | name>
docker rm <container id | name>

docker images
docker rmi <image id>

//check to see that it has been removed
docker info
```

### Heroku

Please visit the following documentation to uninstall the Heroku LogDNA add-on:
https://devcenter.heroku.com/articles/logdna#remove-the-add-on

## How it Works

The LogDNA agent authenticates using your [LogDNA Ingestion Key](https://app.logdna.com/manage/profile) and opens a secure web socket to LogDNA's
Expand Down