All Projects → falcosecurity → falco-exporter

falcosecurity / falco-exporter

Licence: Apache-2.0 license
Prometheus Metrics Exporter for Falco output events

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to falco-exporter

prometheus-gmail-exporter
Checks gmail labels for unread messages and exposes the counts via prometheus.
Stars: ✭ 28 (-66.67%)
Mutual labels:  prometheus-exporter
pve exporter
Prometheus exporter for Proxmox VE.
Stars: ✭ 31 (-63.1%)
Mutual labels:  prometheus-exporter
kube-microcosm
An example of a kubernetes cluster appropriate for a startup company
Stars: ✭ 61 (-27.38%)
Mutual labels:  falco
cryptoprom
CryptoProm is a Prometheus metrics exporter for Cryptocurrency market prices.
Stars: ✭ 19 (-77.38%)
Mutual labels:  prometheus-exporter
azure-devops-exporter
Prometheus exporter for Azure DevOps (VSTS) including agent pools, builds, releases, deployments, pullrequests and repo stats
Stars: ✭ 102 (+21.43%)
Mutual labels:  prometheus-exporter
egg-exporter
Egg.js 的 Prometheus 指标收集插件,附带 Grafana 看板。
Stars: ✭ 24 (-71.43%)
Mutual labels:  prometheus-exporter
unpoller
Application: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
Stars: ✭ 1,613 (+1820.24%)
Mutual labels:  prometheus-exporter
temp-probe-exporter
Export Prometheus data from 1-Wire temperature sensors, using an Arduino or Linux system
Stars: ✭ 17 (-79.76%)
Mutual labels:  prometheus-exporter
falco-the-kubernetes-response-engine-using-openfaas-functions
Demonstrating how you can take an action to your intrusions detected by Falco using OpenFaaS functions
Stars: ✭ 23 (-72.62%)
Mutual labels:  falco
modbus exporter
Exporter which retrieves stats from a modbus system and exports them via HTTP for Prometheus consumption.
Stars: ✭ 16 (-80.95%)
Mutual labels:  prometheus-exporter
hue exporter
A Prometheus exporter for Philips Hue (written in Go)
Stars: ✭ 109 (+29.76%)
Mutual labels:  prometheus-exporter
vmware exporter
VMWare VCenter Exporter for Prometheus
Stars: ✭ 46 (-45.24%)
Mutual labels:  prometheus-exporter
pgbouncer exporter
Prometheus exporter for Pgbouncer metrics.
Stars: ✭ 19 (-77.38%)
Mutual labels:  prometheus-exporter
aerospike exporter
A prometheus exporter for collecting aerospike metrics
Stars: ✭ 13 (-84.52%)
Mutual labels:  prometheus-exporter
azure-metrics-exporter
Azure Monitor metrics exporter for Prometheus with dimension support, template engine and ServiceDiscovery
Stars: ✭ 54 (-35.71%)
Mutual labels:  prometheus-exporter
bigip exporter
Prometheus exporter for BIG-IP metrics
Stars: ✭ 83 (-1.19%)
Mutual labels:  prometheus-exporter
vrops-exporter
Prometheus exporter running python to get metrics out of VMware vRealize Operations
Stars: ✭ 16 (-80.95%)
Mutual labels:  prometheus-exporter
ansible-blackbox-exporter
Blackbox prober exporter
Stars: ✭ 60 (-28.57%)
Mutual labels:  prometheus-exporter
opentracing-metrics-tracer
Exports cross-process metrics via OpenTracing to Prometheus.
Stars: ✭ 13 (-84.52%)
Mutual labels:  prometheus-exporter
kafka-consumer-lag-monitoring
Client tool that exports the consumer lag of Kafka consumer groups to Prometheus or your terminal
Stars: ✭ 45 (-46.43%)
Mutual labels:  prometheus-exporter

falco-exporter

Prometheus Metrics Exporter for Falco output events

Release License Go Report Card Docker pulls

Prerequisites

  • Before using falco-exporter, you need Falco installed and running with the gRPC Output enabled (over Unix socket by default).
  • Since falco-exporter v0.3.0:
    • the minimum required version of Falco is 0.24.0
    • if using Helm, the minimum required version of the Falco Chart is v1.2.0
  • Since falco-exporter v0.8.0:
    • the default Unix socket path is /run/falco/falco.sock to be compatible with Falco 0.33.0 and later (in previous version it defaulted to /var/run/falco.sock)

Usage

Run it manually

make
./falco-exporter

Then check the metrics endpoint at http://localhost:9376/metrics

Command line usage:

$ ./falco-exporter --help
Usage of ./falco-exporter:
      --client-ca string               CA root file path for connecting to a Falco gRPC server (default "/etc/falco/certs/ca.crt")
      --client-cert string             cert file path for connecting to a Falco gRPC server (default "/etc/falco/certs/client.crt")
      --client-hostname string         hostname for connecting to a Falco gRPC server, if set, takes precedence over --client-socket
      --client-key string              key file path for connecting to a Falco gRPC server (default "/etc/falco/certs/client.key")
      --client-port uint16             port for connecting to a Falco gRPC server (default 5060)
      --client-socket string           unix socket path for connecting to a Falco gRPC server (default "unix:///run/falco/falco.sock")
      --listen-address string          address on which to expose the Prometheus metrics (default ":9376")
      --probes-listen-address string   address on which to expose readiness/liveness probes endpoints (default ":19376")
      --server-ca string               CA root file path for metrics https server
      --server-cert string             cert file path for metrics https server
      --server-key string              key file path for metrics https server
      --timeout duration               timeout for initial gRPC connection (default 2m0s)

Run with Docker

To run falco-exporter in a container using Docker:

docker run -v /path/to/falco.sock:/run/falco/falco.sock falcosecurity/falco-exporter

Deploy in Kubernetes

Using Helm

Using the falco-exporter Helm Chart is the easiest way to deploy falco-exporter.

Before installing the chart, add the falcosecurity charts repository:

helm repo add falcosecurity https://falcosecurity.github.io/charts
helm repo update

Finally, to install the chart with the release name falco-exporter and default configuration values:

helm install falco-exporter falcosecurity/falco-exporter

The full documentation of the Helm Chart is here.

Using resource templates

Alternatively, it is possible to deploy falco-exporter without using Helm. Templates for manual installation are here.

Grafana

The Falco dashboard can be imported into Grafana by copy-paste the provided grafana/dashboard.json or by getting it from the Grafana Dashboards website.

You can find detailed Grafana importing instructions here.

Falco dashboard

Event priority

Falco events have a priority value, as defined here. The exported metrics will include a priority label that uses a numeric index. The meaning of these indices is reported in the following table.

ID Priority
7 debug
6 informational
5 notice
4 warning
3 error
2 critical
1 alert
0 emergency

Connection options

falco-exporter uses gRPC over a Unix socket by default.

You may change this behavior by setting --client-hostname. Note that the Falco gRPC server over the network works only with mutual TLS by design. Therefore, when --client-hostname is set you also need valid certificate files to configure falco-exporter properly (see the Command line usage above).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].