Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 182C5179A3 for ; Thu, 5 Feb 2015 23:54:08 +0000 (UTC) Received: (qmail 54631 invoked by uid 500); 5 Feb 2015 23:54:07 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 54576 invoked by uid 500); 5 Feb 2015 23:54:07 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 54566 invoked by uid 99); 5 Feb 2015 23:54:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2015 23:54:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.novogrodsky@gmail.com designates 209.85.192.54 as permitted sender) Received: from [209.85.192.54] (HELO mail-qg0-f54.google.com) (209.85.192.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2015 23:53:43 +0000 Received: by mail-qg0-f54.google.com with SMTP id z60so8142608qgd.13 for ; Thu, 05 Feb 2015 15:52:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=WYr2YnjCEoQfPPezEVhNtUeZGUnTXMNF+ZWATQYu83g=; b=k7sZXG80fllfbniAxRYwb+TENxAN71Ljz3aoU6/Rf3Y5Q/e5FTNMrmXigy/5d2eH0E pR7DqA++W3mPedBk4dqWG1tAHCnMveEq/x6Cko/pOImioOlYkdV1+8MG2KTcKU7CT0W4 +QqP/mG4auSUXhRmCIH0S8XILm8MIph/q/GYWTpHWEj4qDxWQQZoRupGE5kUOQkA9J4N PDOJeYBaJf79u3GWRYHn5VULrJSof03/UfNaBDjJWIZsTbjqdZbx36C1gIxNRP4VwRZs HVJ8ezujsipPLl6dkMhV9c57PQNowWu5ZZK44GYTc0T549z5znoFSfcIF0YwkrY814vv ME+w== X-Received: by 10.224.98.196 with SMTP id r4mr1740977qan.27.1423180331663; Thu, 05 Feb 2015 15:52:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.134.69 with HTTP; Thu, 5 Feb 2015 15:51:51 -0800 (PST) In-Reply-To: References: From: David Novogrodsky Date: Thu, 5 Feb 2015 17:51:51 -0600 Message-ID: Subject: Re: Newbie question on using the Syslog agent in Flume To: user@flume.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Thank you for the information. David Novogrodsky david.novogrodsky@gmail.com http://www.linkedin.com/in/davidnovogrodsky On Mon, Nov 24, 2014 at 5:49 PM, Joey Echeverria wrote: > The host in your source config should be the hostname that will be > listening for syslog events. It's typically either 0.0.0.0 to listen > on the wildcard interface or the fully qualified hostname/IP address > of the public network interface on the Flume agent. > > You then configure the host that will send syslog events to Flume with > the Flume agent's hostname and the port you've configured. Here's an > article that shows how to configure rsyslog and syslog-ng to send to a > server: > > http://help.papertrailapp.com/kb/configuration/configuring-remote-syslog-from-unixlinux-and-bsdos-x/ > > -Joey > > On Mon, Nov 24, 2014 at 3:25 PM, David Novogrodsky > wrote: >> All, >> >> I am new to the Hadoop Ecosystem. I have a question about Syslog and the >> Flume agent for Syslog. >> >> I am working to ingest network data from an agent. The agent is sending >> data in Syslog format, or is creating data in syslog format. Here are the >> required parameters for a syslog Flume source: >> >> a1.sources = r1 >> a1.channels = c1 >> a1.sources.r1.type = syslogudp >> a1.sources.r1.port = 5140 >> a1.sources.r1.host = localhost >> >> a1.sources.r1.channels = c1 >> >> >> >> I asked the developer for the IP address of the syslog source. I assume >> that the Flume agent sends an agent program to the syslog server, defined by >> a1.source.r1.host. Is this correct? Or is the a1.sources.c1.host IP >> address, the address of the machine that is running the Flume instance? >> >> David Novogrodsky >> david.novogrodsky@gmail.com >> http://www.linkedin.com/in/davidnovogrodsky > > > > -- > Joey Echeverria