--- title: "Configuration" slug: "applications-pcap2json-configuration" updated: 2025-10-11T09:48:34Z published: 2025-10-11T09:48:34Z canonical: "docs.fmad.io/applications-pcap2json-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.fmad.io/llms.txt > Use this file to discover all available pages before exploring further. # Configuration pcap2json: Version 772 Default configuration file for Clickhouse the file is located in ```plaintext /opt/fmadio/etc/pcap2json.lua ``` Paste the contents per below. ```plaintext local Config = { ["General"] = {    IsMultiFE       = false,    WatchdogTimeout = 5*60,    --SingleStack       = "analytics", } , ["pcap2json"] = {    "-v",    "--flow-samplerate 1e9 ",    "--flow-index-depth 8",    "--flow-max 4e6", } , ["backend"] = {        "--index-name pcapflow.raw",        "--pipe-window 6000e9",        "--flow-max 4e6",        "--flow-sort",        "--output-buffercnt 32",        "--output-buffersize "..(128*1024*1024),        --"--output-stdout",        --"--output-null",        "--output-ch-bin",        --"--ch-null",                              -- performance testing        "--ch-host 192.168.90.80:9000",       '--ch-compress',        '--ch-ping', --        '--ch-tls',        '--chbin-hash-half',        '--chbin-vlan1', --        '--ch-ratelimit 10e3 1e9',        "--index-disable",        "--username default",        '--password "fmad-secret"', } , ["RTT"] = {    ["Enable"]      = false,    ["Period"]      = 120e9,    ["Offset"]      = 120e9,    ["Duration"]    = 60e9, } , ["stream_cat"] = {        --["BPF"]       = "net 192.168.1.0/24",        --["FollowNow"] = 1e6, } } return Config ```