Files
teleport/docs/pages/includes/install-event-handler.mdx
T
39f15f322d Docs: Add Datadog guide. (#21950)
* tighten existing audit title in nav

* Move plugin install and config to partials

This move not only consolidates these instructions to a single source of
truth, but also takes the divergent updates from these instructions across
multiple docs.

* init datadog guide

* Update docs/pages/includes/configure-event-handler.mdx

Co-authored-by: Michael Wilson <mike@mdwn.dev>

* respond to review feedback

* add context for Logstash

* add context for Splunk

* update page titles

See https://github.com/gravitational/teleport/pull/21950/files\#r1110311232 for details

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* move link to next steps

* Apply suggestions from code review

* adjust prereqs

* Apply suggestions from code review

* Update docs/pages/management/export-audit-events/datadog.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* appease pointless linter rule

---------

Co-authored-by: Michael Wilson <mike@mdwn.dev>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-03-06 18:24:46 +00:00

86 lines
2.3 KiB
Plaintext

<Tabs>
<TabItem label="Linux">
```code
$ curl -L -O https://get.gravitational.com/teleport-event-handler-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
$ tar -zxvf teleport-event-handler-v(=teleport.plugin.version=)-linux-amd64-bin.tar.gz
```
We currently only build the Event Handler plugin for amd64 machines. For ARM
architecture, you can build from source.
</TabItem>
<TabItem label="macOS">
```code
$ curl -L -O https://get.gravitational.com/teleport-event-handler-v(=teleport.plugin.version=)-darwin-amd64-bin.tar.gz
$ tar -zxvf teleport-event-handler-v(=teleport.plugin.version=)-darwin-amd64-bin.tar.gz
```
We currently only build the event handler plugin for amd64 machines. If your
macOS machine uses Apple silicon, you will need to [install
Rosetta](https://support.apple.com/en-us/HT211861) before you can run the
event handler plugin. You can also build from source.
</TabItem>
<TabItem label="Docker">
Ensure that you have Docker installed and running.
```code
$ docker pull public.ecr.aws/gravitational/teleport-plugin-event-handler:(=teleport.plugin.version=)
```
</TabItem>
<TabItem label="Helm">
To allow Helm to install charts that are hosted in the Teleport Helm repository, use `helm repo add`:
```code
$ helm repo add teleport (=teleport.helm_repo_url=)
```
To update the cache of charts from the remote repository, run `helm repo update`:
```code
$ helm repo update
```
</TabItem>
<TabItem label="Build via Docker">
Ensure that you have Docker installed and running.
Run the following commands to build the plugin:
```code
$ git clone https://github.com/gravitational/teleport-plugins.git --depth 1
$ cd teleport-plugins/event-handler/build.assets
$ make build
```
You can find the compiled binary within your clone of the `teleport-plugins`
repo, with the file path, `event-handler/build/teleport-event-handler`.
</TabItem>
<TabItem label="Build via Go">
You will need Go >= (=teleport.golang=) installed.
Run the following commands on your Universal Forwarder host:
```code
$ git clone https://github.com/gravitational/teleport-plugins.git --depth 1
$ cd teleport-plugins/event-handler
$ go build
```
The resulting executable will have the name `event-handler`. To follow the
rest of this guide, rename this file to `teleport-event-handler` and move it
to `/usr/local/bin`.
</TabItem>
</Tabs>