ModSecurity Log JSON WAF OWASP CRS for Apache/NGINX

Loki Promtail

ModSecurity Log JSON WAF OWASP CRS for Apache/NGINX screenshot 1

/etc/loki/config.yml

This is a complete configuration to deploy Loki backed by the filesystem.

The index will be shipped to the storage via tsdb-shipper.

auth_enabled: false

server: http_listen_port: 3100 grpc_server_max_recv_msg_size: 104857600 # 100 Mb grpc_server_max_send_msg_size: 104857600 # 100 Mb

ingester: chunk_encoding: snappy

ingester_client: grpc_client_config: max_recv_msg_size: 104857600 # 100 Mb max_send_msg_size: 104857600 # 100 Mb

querier: max_concurrent: 8

common: ring: instance_addr: 127.0.0.1 kvstore: store: inmemory replication_factor: 1 path_prefix: /var/loki

query_range: parallelise_shardable_queries: true cache_results: true results_cache: cache: embedded_cache: enabled: true max_size_mb: 100

schema_config: configs:

  • from: 2024-10-28 store: tsdb object_store: filesystem schema: v13 index: prefix: index_ period: 24h

storage_config: filesystem: directory: /var/loki/chunks

limits_config: reject_old_samples: true reject_old_samples_max_age: 168h retention_period: 360h max_query_series: 100000 max_query_parallelism: 24 split_queries_by_interval: 15m

default

per_stream_rate_limit: “3MB” per_stream_rate_limit_burst: “15MB”

Revisions
RevisionDescriptionCreated

Get this dashboard

1

Sign up for Grafana Cloud

Create free account

2

Import the dashboard template

or

Download JSON

Datasource
Dependencies