Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DF3F9200B5E for ; Tue, 5 Jul 2016 15:54:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DDC99160A2C; Tue, 5 Jul 2016 13:54:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 15639160A6F for ; Tue, 5 Jul 2016 15:54:11 +0200 (CEST) Received: (qmail 18385 invoked by uid 500); 5 Jul 2016 13:54:11 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 18300 invoked by uid 99); 5 Jul 2016 13:54:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2016 13:54:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 18EE12C02A5 for ; Tue, 5 Jul 2016 13:54:11 +0000 (UTC) Date: Tue, 5 Jul 2016 13:54:11 +0000 (UTC) From: "Miklos Gergely (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17561) Enable simulating logfeeder inputs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 05 Jul 2016 13:54:13 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Miklos Gergely updated AMBARI-17561: ------------------------------------ Issue Type: Task (was: Bug) > Enable simulating logfeeder inputs > ---------------------------------- > > Key: AMBARI-17561 > URL: https://issues.apache.org/jira/browse/AMBARI-17561 > Project: Ambari > Issue Type: Task > Components: ambari-logsearch > Affects Versions: 2.4.0 > Reporter: Miklos Gergely > Assignee: Miklos Gergely > Fix For: 2.4.0 > > > Enable simulating input files in a configurable way. The parameters has to be set at custom logfeeder.properties > Available parameters: > logfeeder.simulate.input_number - number of paralell inputs (threads) loading the logs, if it is set and not 0 then all the rest of the configured inputs are ignored (running in simulation mode)!! > logfeeder.simulate.log_ids - comma separated list of the log ids to propagate at random, if not set by default all the available logs are propagated at random > logfeeder.simulate.log_level - the level of the simulated log messages, by default WARN > logfeeder.simulate.log_message_size - the length of the simulated log messages, can't be less then 50 due to log message prefix, the rest is filled with 'X' characters > logfeeder.simulate.sleep_milliseconds - the time interval at which each simulated inputs writes one log message at random > The text of the log message is like this: > Simulated log message for testing, line 00000001 XXXXXXXXXXXXXXXXXXXXXXXXXX -- This message was sent by Atlassian JIRA (v6.3.4#6332)