Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

log-forwarding.md 3.3 KB

You have to be logged in to leave a comment. Sign In
title intro redirect_from versions
Log forwarding {% data variables.product.product_name %} uses `syslog-ng` to forward {% if enterpriseServerVersions contains currentVersion %}system{% elsif currentVersion == "github-ae@latest" %}Git{% endif %} and application logs to the server you specify. [/enterprise/admin/articles/log-forwarding/ /enterprise/admin/installation/log-forwarding /enterprise/admin/enterprise-management/log-forwarding /admin/enterprise-management/log-forwarding] [{enterprise-server *} {github-ae *}]

Any log collection system that supports syslog-style log streams is supported (e.g., Logstash and Splunk).

Enabling log forwarding

{% if enterpriseServerVersions contains currentVersion %}

  1. On the {% data variables.enterprise.management_console %} settings page, in the left sidebar, click Monitoring.
  2. Select Enable log forwarding.
  3. In the Server address field, type the address of the server to which you want to forward logs. You can specify multiple addresses in a comma-separated list.
  4. In the Protocol drop-down menu, select the protocol to use to communicate with the log server. The protocol will apply to all specified log destinations.
  5. Select Enable TLS.
  6. Click Choose File and choose a CA certificate to encrypt communication between syslog endpoints. The entire certificate chain will be validated, and must terminate in a root certificate. For more information, see TLS options in the syslog-ng documentation. {% elsif currentVersion == "github-ae@latest" %} {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %}
  7. Under {% octicon "gear" aria-label="The Settings gear" %} Settings, click Log forwarding. Log forwarding tab
  8. Under "Log forwarding", select Enable log forwarding. Checkbox to enable log forwarding
  9. Under "Server address", enter the address of the server you want to forward logs to. Server address field
  10. Use the "Protocol" drop-down menu, and select a protocol. Protocol drop-down menu
  11. Optionally, to enable TLS encrypted communication between syslog endpoints, select Enable TLS. Checkbox to enable TLS
  12. Under "Public certificate", paste your x509 certificate. Text box for public certificate
  13. Click Save. Save button for log forwarding {% endif %}

{% if enterpriseServerVersions contains currentVersion %}

Troubleshooting

If you run into issues with log forwarding, contact {% data variables.contact.contact_ent_support %} and attach the output file from http(s)://[hostname]/setup/diagnostics to your email. {% endif %}

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...