Overview
What is its Purpose?
What is its Purpose?
Central Log Collection
Traffic Management
Security
Environment Management
Working Principle
Working Principle
Connection Initiation
Connection Pool Management
Authentication
Data Communication
Connection Management
Error Management
Usage Areas
Usage Areas
Central Log Transmission
Real-Time Monitoring
Early Warning Mechanism
SIEM Integration
Technical Features and Capabilities
Basic Features
Basic Features
GELF Transport Selection
Compression Policy
Environment-Based Configuration
Enable/Disable Control
Advanced Features
Advanced Features
TLS Certificate Chain Upload
Advanced TCP Settings
Multi-Threaded Sending
Connection Test Feature
Export/Import Feature
Connection Monitoring
Connection Parameters
Required Parameters
Required Parameters
Name
Example Value:
Production_GraylogNotes: Cannot start with a space, special characters should not be used
Environment (Ortam)
Example Value:
prod-env-01Notes: Registration is blocked if environment is not published
Hostname
Example Value:
graylog.internal.localNotes: Use FQDN for production
Port
Example Value: 12201
Notes: TCP/UDP can share the same port
TransportType
Example Value: TCP
Notes: TCP recommended; reliable network required for UDP
CompressionType
Example Value: GZIP
Notes: Bandwidth increases when NONE is selected
GelfMessageLevel
Example Value: WARNING
Notes: Selection provides filtering within Graylog
QueueSize
Example Value: 512
Notes: High values increase RAM consumption
ReconnectDelay (ms)
Example Value: 2500
Notes: In milliseconds
ConnectTimeout (ms)
Example Value: 10000
Notes: Adjust according to network delays
SendBufferSize (byte)
Example Value: -1
Notes: -1 uses system default
MaxInflightSends
Example Value: 512
Notes: Excessive values can create pressure on Graylog side
Threads
Example Value: 0
Notes: 0 automatically adjusts according to CPU cores
Optional Parameters
Optional Parameters
Description
Default Value: (Empty)
Recommended Value: Prod log forwarding for CoreAPI
TLS Enabled
Default Value: false
Recommended Value: true (Production)
TLS Cert Verification Enabled
Default Value: false
Recommended Value: true (Production)
TLS Trust Cert Chain File
Default Value: (Empty)
Recommended Value: graylog-ca.pem
TCP No Delay
Default Value: true
Recommended Value: true
TCP Keep Alive
Default Value: false
Recommended Value: true (remote DC)
Append To Attributes
Default Value: true
Recommended Value: true
Append To Message
Default Value: true
Recommended Value: true
Timeout and Connection Pool Parameters
Connection Timeout
Default: 10000
Min: 1000 | Max: 60000
Unit: milliseconds
Request Timeout
Default: N/A
Min: - | Max: -
Unit: milliseconds
Pool Size
Default: Determined by threads value
Min: 1 | Max: 64
Unit: count
ReconnectDelay
Default: 2500
Min: 500 | Max: 60000
Unit: milliseconds
Usage Scenarios
Real-Time API Logging
Solution: TransportType=TCP, Compression=GZIP, GelfLevel=ERROR
Expected Behavior: Only error logs appear on Graylog side, bandwidth is optimized
SIEM Integration
Solution: GelfLevel=ALERT, AppendToAttributes=true
Expected Behavior: SIEM enriches alarm context thanks to extra attributes
Low-Latency Monitoring
Solution: TransportType=UDP, QueueSize=256
Expected Behavior: Logs are sent with low latency, possible losses are accepted
Multi-DC Graylog
Solution: TLS Enabled=true, TLS Cert Verification=true, upload certificate
Expected Behavior: Encrypted channel is established, self-signed certificates are rejected
Intensive Batch Jobs
Solution: QueueSize=2048, Threads=8, MaxInflight=1024
Expected Behavior: Log transfer completes without queue overflow
Test Environment Observation
Solution: GelfLevel=DEBUG, Compression=NONE
Expected Behavior: All logs are transmitted uncompressed for troubleshooting
Connection Configuration
Creating a New Graylog Connection

Configuration Steps
Navigate to Creation Page
- Go to Connection → Graylog from the left menu.
- Click the [+ Create] button in the top right.
Enter Basic Information
- Set active/passive status with toggle. New connections are active by default.
- Example:
Production_Graylog - Enter unique name, cannot start with space.
- System automatically checks. Green checkmark: available. Red X: existing name.
- Example: “Graylog prod ingestion”
- Max. 1000 characters.
- Describe the connection’s purpose.
Environment Selection
- Select environment from dropdown menu: Development, Test, or Production.
- Different connection parameters can be defined for each environment.
Graylog-Specific Parameters - Network
- Hostname & Port: Enter Graylog GELF listener information.
- TransportType: Select TCP (reliable) or UDP (low latency).
- CompressionType: Determine GZIP/ZLIB/NONE options according to latency and CPU.
- Wrong hostname causes log loss.
Graylog-Specific Parameters - Log & Queue
- GELF Message Level: Select appropriate level from Debug to Emergency.
- QueueSize, Threads, MaxInflightSends: Set values according to log volume.
- Append options: Determine whether Apinizer metadata will be included in logs.
Timeout and Connection Pool Settings
- ConnectTimeout & ReconnectDelay: Determine in milliseconds according to network conditions.
- SendBufferSize: -1 uses system default, enter byte value in custom fields.
- Increase threads value to prevent Pool exhausted warning in heavy traffic.
Security and Authentication Settings
- TLS Enabled: Required in Production.
- TLS Cert Verification Enabled: Upload certificate when verification is enabled.
- TLS Trust Cert Chain File: Upload PEM file from UI, maximum 100 MB.
Test Connection
- Click the [Test Connection] button.
- Test whether connection parameters are correct.
- Successful: Green confirmation message
- Failed: Error details are shown
Save
- Click the [Save and Deploy] button in the top right.
- Unique name
- Required fields filled
- Test connection successful (recommended)
- Connection is added to list
- Becomes available for use in Integration Flow and Connector steps
- Becomes active according to environment
Deleting Connection
Delete Operation
Delete Tips
Alternative: Deactivate
Exporting/Importing Connection
Export
Export
Method 1
Method 2
File Format
Date-connection-ConnectionName-export.zipExample:
13 Nov 2025-connection-Production_Graylog-export.zipZIP Contents
- Connection JSON file
- Metadata information
- Dependency information (e.g., certificates, key store)
Usage Areas
- Backup
- Moving between environments (Test → Prod)
- Versioning
- Team or project-based sharing
Import
Import
Import Steps
- Click the [Import Graylog] button on the main list.
- Select the downloaded ZIP file.
- System checks: Is format valid? Is there a name conflict? Are dependencies available?
- Then click the [Import] button.
Import Scenarios
Connection Usage Areas
Connection Creation and Activation
- Create the connection
- Verify the connection with Test Connection
- Save and activate with Save and Deploy
- Ensure the connection is in Enabled status
Usage in Integration / Connector Steps
Scheduled Job Usage
Test Usage
Best Practices
Things to Do and Best Practices
Things to Do and Best Practices
Log Schema Standardization
Good: Using common field names
Best: Making Apinizer context attributes mandatory and validating with Graylog pipeline
Compression Strategy
Good: Using GZIP in Production
Best: Determining dynamic policy according to traffic and monitoring decompress cost on Graylog side
Transport Selection
Good: Using TCP in Prod, UDP in Test
Best: Making TCP + TLS mandatory, using UDP only for low-risk metrics
Queue Size Management
Good: Setting between 512-1024 according to traffic analysis
Best: Updating queue/buffer settings automatically according to peak load measurements
Environment Management
Good: Creating separate connections for each environment
Best: Managing all environments in a single connection using the Environment option, only changing environment when transitioning between environments
Connection Test
Good: Verifying with Test Connection before saving
Best: Testing after every parameter change, performing full integration test in test environment before going to production
Security Best Practices
Security Best Practices
TLS Certificate Management
Network Segmentation
Log Content Masking
Credential Management
SSL/TLS Usage
Access Control
Things to Avoid
Things to Avoid
High-Critical Logging in UDP
Alternative: Use TCP + TLS
Wrong Log Level
Alternative: Determine level according to business need, add pipeline filters
Not Updating Certificate File
Alternative: Renew certificates with calendar reminders
Using Production Connection in Test Environment
Alternative: Create separate connections for each environment, use environment parameter, separate connection names by adding prefix according to environment (Test_, Prod_)
Very Low Timeout Values
Alternative: Set timeout values according to real usage scenarios, measure network latency and set timeouts accordingly
Not Using Connection Pool
Alternative: Enable connection pool, set pool size according to traffic volume, set up pool monitoring
Performance Tips
Performance Tips
Batch Send Size
Effect: Latency decreases, throughput increases
Compression Balance
Effect: CPU consumption is balanced, log latency decreases in critical periods
Thread Setting
Effect: System resources remain balanced, throttling decreases
Connection Pool Optimization
Effect: Connection opening cost decreases by 80%, response times decrease, resource usage is optimized
Timeout Values Optimization
Effect: Unnecessary waits are prevented, fast fail-over is provided, user experience improves
Connection Monitoring
Effect: Problems are proactively detected, performance bottlenecks are identified early, downtime decreases
Troubleshooting
GELF Message Rejected
GELF Message Rejected
Message Size
JSON Schema
Pipeline Logs
TLS Handshake Failed
TLS Handshake Failed
Certificate Upload
Hostname Verification
TLS Settings
Connection Timeout
Connection Timeout
Network Check
System Health
Timeout Settings
Log Review
Authentication Failed
Authentication Failed
Credentials
User Status
Permission Check
Certificate Check
Pool Exhausted
Pool Exhausted
Pool Size
Connection Check
Idle Timeout
Metric Monitoring
Connection Test Successful But Integration Flow Errors
Connection Test Successful But Integration Flow Errors
Enable Toggle
Connection Selection
Connection Deploy
Flow/Job Deploy
Log Check
Frequently Asked Questions (FAQ)
How many projects can Graylog Connection be shared in?
How many projects can Graylog Connection be shared in?
How many environments can connect to Graylog at the same time?
How many environments can connect to Graylog at the same time?
What format should TLS certificate file be in?
What format should TLS certificate file be in?
Do I need to redeploy when changing GELF transport?
Do I need to redeploy when changing GELF transport?
Should I set log level in Graylog or in Connection?
Should I set log level in Graylog or in Connection?
Can I use the same connection in multiple Integration Flows?
Can I use the same connection in multiple Integration Flows?
Is using connection pool mandatory?
Is using connection pool mandatory?
Should I create different connections for Test and Production?
Should I create different connections for Test and Production?
Test Connection is successful but not working in Integration Flow, why?
Test Connection is successful but not working in Integration Flow, why?
- Connection enable toggle may be passive
- Different connection may be selected in Integration step
- Connection may not be deployed
- Integration Flow may not be redeployed yet

