From patchwork Sun Apr 21 17:26:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 2205 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id F3A6185BD81 for ; Sun, 21 Apr 2019 08:26:57 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 44n1Vm3Dk8z5H9P1; Sun, 21 Apr 2019 08:26:56 +0100 (BST) Received: from tuxedo.stevee (212095005073.public.telering.at [212.95.5.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 44n1Vd05yWz5H9NX; Sun, 21 Apr 2019 08:26:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904rsa; t=1555831609; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:openpgp:autocrypt; bh=dpduX1t6V0oKH3nfR43PqoVh0i8Qp78ZRHPxtu8xwZg=; b=jb/CGXtpL9VyTYpwAXSQzBT9nXRUhLhPR8lhyqINvNiF7eeRKkGoATCfILZDPVyH6+ChOH oe0zu2s8sMKrOKin+ZVDTlLkHVw8HhudNJxnnftdIseZtoz1RVCWb9dqnUdt0l1Eg99NsR nAr6IHfBerRAbbU7WaMwHx0LabdrGRlKwU5r5Uu1rjHVIHBfCaTsZfUR+2mlSI5eoK6ebk TKOkyATSnU6ef4fH/doEy3N5ZHkkyel0+fe991PmvO1odU8SDWMfyoIjn6lLSNj8KR22nF lNgHTEGxaK13xZiGsh2kefchvBf7rUvOd9ZUOP3OhPnVubXKnMJkRIqSfiI3Vg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904ed25519; t=1555831609; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:openpgp:autocrypt; bh=dpduX1t6V0oKH3nfR43PqoVh0i8Qp78ZRHPxtu8xwZg=; b=3goLc6Uyrfvc7f45kYfB89OHKvA+B308206uebwZQmrwZOUwevZn2XWrcDMwhFNokjm/w9 4dQ/DPjS40efGBDA== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] suricata: Disable stats.log Date: Sun, 21 Apr 2019 09:26:45 +0200 Message-Id: <20190421072645.3868-1-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=stevee smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This log is mainly needed for debugging the IPS. It writes some stats every couple of seconds and will create some load on SD cards and other cheap storage that we do not need. Fixes #12056. Signed-off-by: Stefan Schantl --- config/suricata/suricata.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml index e7e27c731..cb4f33865 100644 --- a/config/suricata/suricata.yaml +++ b/config/suricata/suricata.yaml @@ -82,7 +82,7 @@ outputs: # Stats.log contains data from various counters of the suricata engine. - stats: - enabled: yes + enabled: no filename: stats.log append: no # append to file (yes) or overwrite it (no) totals: yes # stats for all threads merged together