DocumentationRelease Notes
Documentation

Configure Elasticsearch or Logstash reporting

Integrate the AD Bridge reporting component with Elasticsearch or Logstash. The BTEventReaper service can send events to Elasticsearch or Logstash in addition to SQL Server and BeyondInsight.

⚠️

Important

Either Elasticsearch or Logstash can be configured, but not both.

ℹ️

Note

BeyondTrust provides a common mapping for Elastic Common Scheme (ECS) that allows customers to search across events from ADB, BIUL, and PMUL.

Requirements

  • Configure a Group Policy with user monitor and event forwarder enabled.
  • AD Bridge collectors must be installed.
  • An existing Logstash or Elasticsearch environment must already be configured. Credentials are required to connect to the Elasticsearch or Logstash server.

Run the Reporting Database Connection Manager:

  1. From the Start menu, select Reporting Database Connection Manager.

    Alternatively, you can also run the tool from the command line:

    C:\Program Files\BeyondTrust\PBIS\Enterprise\DBUtilities\ bteventdbreaper /gui

  2. Check the Enable Elasticsearch/Logstash box.

  3. Enter the endpoint URL, user name, and password.

  4. Enter the port number.

  5. To set the parameters for ElasticSearch, click Set Local Parameters. This option is to set local parameters for ElasticSearch. SQL Server and BeyondInsight get the parameters from the BeyondTrust Management Console.

    ElasticSearch configuration dialog

Collector parameters dialog

  1. Click Test Connection to ensure the connection between the servers is successfully established.
  2. Click OK.

ℹ️

Note

Index Suffix is an optional field. This sets the index suffix in Elasticsearch/Logstash.

ℹ️

Note

For more information about AD Bridge collectors, see Set up the Collection server.

Configure Logstash for AD Bridge

Use the following template to set up Logstash to work with AD Bridge.

Sample configuration file

In your pipelines .conf file, add the following:

input {
http {
port => [PORT]
codec => json
password => [PASSWORD]
user => [USERNAME]
ssl => true
ssl_certificate => [SSL CERT LOCATION]
ssl_key => [SSL KEY LOCATION]
additional_codecs => { "application/json" => "es_bulk" }
}
}
 
filter {
 
}
 
output {
#On Prem Connection Output
elasticsearch {
hosts => [ [URL/IP] ]
ssl => true
ssl_certificate_verification => true
cacert => [CA CERT LOCATION]
user => [USERNAME]
password => [PASSWORD]
index => "%{[@metadata][_index]}"
}
#Cloud Connection Output
elasticsearch {
cloud_id => [CLOUD ID - Get this from ES]
cloud_auth => [User:Password]
index => "%{[@metadata][_index]}"
}
}

Example

> ✅ input {  
> http {  
> port => 8080  
> codec => json  
> password => "**\*\***"  
> user => "username"  
> ssl => true  
> ssl_certificate => "/etc/pki/tls/certs/logstash_combined.crt"  
> ssl_key => "/etc/pki/tls/private/logstash.key"  
> additional_codecs => { "application/json" => "es_bulk" }  
> }  
> }  
> filter {

}

output {  
elasticsearch {  
hosts => ["https://elasticsever.com:9200"]  
ssl => true  
ssl_certificate_verification => true  
cacert => "/etc/logstash/elasticsearch-ca.pem"  
user => logstash_user  
password => password  
index => "%{[@metadata][_index]}"  
}  
elasticsearch {  
cloud_id => "elasticCloud:fGtdSdffFFerdfg35sDFgsdvsdfhhFRDDFZSQ1YjZiOWYzNDQwNTU0NGRkYmZiYjFjYzMxY2EzNzc5OQ=="  
cloud_auth => "esUser:yyNrZ4BMcpCkDbW"  
index => "%{[@metadata][_index]}"  
}  
}

©2003-2025 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.