Deployment Guide-Graylog Server

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Graylog Server

Deployment Guide

UPDATED: 11 January 2018


Graylog Server

Copyright Notices

Copyright © 2002-2018 KEMP Technologies, Inc. All rights reserved. KEMP Technologies and the KEMP
Technologies logo are registered trademarks of KEMP Technologies, Inc.

KEMP Technologies, Inc. reserves all ownership rights for the LoadMaster and KEMP 360 product line
including software and documentation.

Used, under license, U.S. Patent Nos. 6,473,802, 6,374,300, 8,392,563, 8,103,770, 7,831,712, 7,606,912,
7,346,695, 7,287,084 and 6,970,933

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 2


Graylog Server

Table of Contents

1 Introduction 4

1.1 Document Purpose 4

1.2 Intended Audience 4

2 Template 5

3 Architecture 6

4 Configure the LoadMaster 7

4.1 Enable Subnet Originating Requests Globally 7

4.2 Enable Check Persist Globally 7

4.3 Create the Graylog Server Virtual Services 8

4.3.1 Create a Graylog Search Virtual Service 8

4.3.2 Create a Graylog-Admin Virtual Service 9

4.3.3 Create a Graylog-Syslog UDP Virtual Service 10

References 13

Last Updated Date 14

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 3


Graylog Server
1 Introduction

1 Introduction
Graylog Server enables you to monitor all activity in your network including established or rejected
network connections. With Graylog you can centrally collect the syslog messages of your complete
infrastructure, spot problems early and resolve issues faster. This eliminates the need to log in to
multiple devices to parse plain text log files.

The KEMP LoadMaster is used to load balance the Graylog Server workload. The LoadMaster offers
advanced Layer 4 and Layer 7 server load balancing, SSL Acceleration and a multitude of other advanced
Application Delivery Controller (ADC) features. The LoadMaster intelligently and efficiently distributes
user traffic among the application servers so that users get the best experience possible. 

1.1 Document Purpose


This document provides the recommended LoadMaster settings used when load balancing the Graylog
Server workload. The KEMP Support Team is available to provide solutions for scenarios not explicitly
defined. The KEMP support site can be found at: https://support.kemptechnologies.com

1.2 Intended Audience


This document is intended to be read by anyone who is interested in configuring the LoadMaster to
optimize the Graylog Server.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 4


Graylog Server
2 Template

2 Template
KEMP has developed a template containing our recommended settings for this workload. You can install
this template to help when creating Virtual Services, as it automatically populates the settings. This is
quicker and easier than manually configuring each Virtual Service. If needed, changes can be made to any
of the Virtual Service settings after using the template.

Download released templates from the Templates section on the KEMP documentation page:
http://kemptechnologies.com/documentation.

For more information and steps on how to import and use templates, refer to the Virtual Services and
Templates, Feature Description on the KEMP Documentation Page.

For steps on how to manually add and configure each of the Virtual Services using the recommended
settings, refer to the steps in this document.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 5


Graylog Server
3 Architecture

3 Architecture

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 6


Graylog Server
4 Configure the LoadMaster

4 Configure the LoadMaster


The deployed Graylog Server environment determines which of the following setups is used.

4.1 Enable Subnet Originating Requests Globally


It is best practice to enable the Subnet Originating Requests option globally.

In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet)
Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests
should not affect the routing in a one-armed setup.

In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real
Servers are on network B - Subnet Originating Requests should be enabled on LoadMasters with
firmware version 7.1-16 and above.

When Subnet Originating Requests is enabled, the LoadMaster will route traffic so that the Real Server
will see traffic arriving from the LoadMaster interface that is in that network/subnet not the Virtual
Service address.

When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services.
If the Subnet Originating Requests option is disabled globally, you can choose whether or not to enable
Subnet Originating Requests on a per-Virtual Service basis.

To enable Subnet Originating Requests globally, follow the steps below:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to System Configuration >
Miscellaneous Options > Network Options.

2. Tick the Subnet Originating Requests check box.

4.2 Enable Check Persist Globally


It is recommended that you change the Always Check Persist option to Yes – Accept Changes. Use the
following steps:

1. Go to System Configuration > Miscellaneous Options > L7 Configuration.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 7


Graylog Server
4 Configure the LoadMaster

2. Click the Always Check Persist dropdown arrow and select Yes – Accept Changes.

4.3 Create the Graylog Server Virtual Services


The following sections describe the recommended settings for the Graylog Server Virtual Services.

4.3.1 Create a Graylog Search Virtual Service


The following are the steps involved and the recommended settings to configure the Graylog Search
Virtual Service:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services > Add
New.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 8


Graylog Server
4 Configure the LoadMaster

2. Type a valid Virtual Address.

3. Type 9200 as the Port.

4. Enter a recognizable Service Name, such as Graylog Search Virtual Service.

5. Click Add this Virtual Service.

6. Select fixed weighting as the Scheduling Method.

7. Add the Real Servers:

a) Expand the Real Servers section.

b) Click Add New.

c) Enter the address of the relevant Real Server.

d) Complete the other fields as required.

e) Click Add this Real Server then click OK to the pop-up message.

f) Repeat the steps above to add more Real Servers as needed, based on your
environment.

4.3.2 Create a Graylog-Admin Virtual Service


The following are the steps involved and the recommended settings to configure the Graylog-Admin
Virtual Service:

1. In the main menu of the LoadMaster WUI, go to Virtual Services > Add New.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 9


Graylog Server
4 Configure the LoadMaster

2. Type a valid Virtual Address.

3. Type 9000 as the Port.

4. Enter a recognizable Service Name, such as Graylog-Admin Virtual Service.

5. Click Add this Virtual Service.

6. Select fixed weighting as the Scheduling Method.

7. Add the Real Servers:

a) Expand the Real Servers section.

b) Click Add New.

c) Enter the address of the relevant Real Server.

d) Complete the other fields as required.

e) Click Add this Real Server then click OK to the pop-up message.

f) Repeat the steps above to add more Real Servers as needed, based on your
environment.

4.3.3 Create a Graylog-Syslog UDP Virtual Service


The following are the steps involved and the recommended settings to configure the Graylog-Syslog UDP
Virtual Service:

1. In the main menu of the LoadMaster WUI, go to Virtual Services > Add New.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 10


Graylog Server
4 Configure the LoadMaster

2. Type a valid Virtual Address.

3. Type 514 as the Port.

4. Enter a recognizable Service Name, such as Graylog-Syslog UDP Virtual Service.

5. Select udp as the Protocol.

6. Click Add this Virtual Service.

7. Configure the settings as recommended in the following table:

Section Option Value


Standard Options Force L4 Disabled
Scheduling Method fixed weighting
Idle Connection Timeout 300

8. Add the Real Servers:

a) Expand the Real Servers section.

b) Click Add New.

c) Enter the address of the relevant Real Server.

d) Complete the other fields as required.

e) Click Add this Real Server then click OK to the pop-up message.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 11


Graylog Server
4 Configure the LoadMaster

f) Repeat the steps above to add more Real Servers as needed, based on your
environment.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 12


Graylog Server
References

References
Unless otherwise specified, the following documents can be found at
http://kemptechnologies.com/documentation.

Virtual Services and Templates, Feature Description

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 13


Graylog Server
Last Updated Date

Last Updated Date


This document was last updated on 11 January 2018.

Copyright © 2002 - 2018 KEMP Technologies, Inc. All Rights Reserved. 14

You might also like