Configure Ingest for Nginx Server logs
This package is designed to be used in conjunction with the Falcon LogScale Log Collector, see Configuring LogScale Collector for more information.
Once you have installed the Log Collector apply the configuration detailed below.
This configuration was tested with:
NGINX v1.18.0
Falcon LogScale Collector v1.2.0
Falcon LogScale v1.72.0
yaml
sources:
nginx_access:
type: file
include: <access log file path>
parser: "nginx/nginx:nginx_access"
sink: humio
nginx_error:
type: file
include: <error log file path>
parser: "nginx/nginx:nginx_error"
sink: humio
sinks:
humio:
type: humio
token: <ingest-token>
url: <logscale-base-url> // example - https://cloud.community.humio.com