Citrix Analytics for Security

Elasticsearch integration


Contact to request assistance for the Elasticsearch integration, exporting data to Elasticsearch, or provide feedback.

Integrate Citrix Analytics for Security with Elasticsearch by using the Logstash engine. This integration enables you to export and correlate the users’ data from your Citrix IT environment to Elasticsearch and get deeper insights into your organization’s security posture. You can also use Elasticsearch with the visualization services and SIEMs like Kibana and LogRhythm respectively.

For more information about the benefits of the integration and the type of processed data that is sent to your SIEM, see Security Information and Event Management integration.


  • Turn on data processing for at least one data source. It helps Citrix Analytics for Security to begin the Elasticsearch integration process.

  • Ensure that the following endpoint is in the allow list in your network.

    Endpoint United States region European Union region Asia Pacific South region
    Kafka brokers    

Integrate with Elasticsearch

  1. Go to Settings > Data Sources >Security > DATA EXPORTS.

  2. On the SIEM site card, select Get Started.

    SIEM data export

  3. On the Configure SIEM integration page, create an account by specifying the user name and a password. This account is used to prepare a configuration file, which is required for integration.

    SIEM config page

  4. Ensure that the password meets the following conditions:

    SIEM password requirements

  5. Click Configure to generate the Logstash configuration file.

    Configure Elasticsearch

  6. Select the Elastic Search tab to download the configuration files:

    • Logstash config file: Contains the configuration data (input, filter, and output sections) for sending events from Citrix Analytics for Security to Elasticsearch using the Logstash data collection engine. For information on Logstash config file structure, see the Logstash documentation.

    • JKS file: Contains the certificates required for SSL connection.


      These files contain sensitive information. Keep them in a safe and secure location.

      Select Elasticsearch

  7. Configure Logstash:

    1. On your Linux or Windows host machine, install Logstash. You can also use your existing Logstash instance.

    2. On the host machine where you have installed Logstash, place the following files in the specified directory:

      Host machine type File name Directory path
      Linux CAS_Elasticsearch_LogStash_Config.config For Debian and RPM packages: /etc/logstash/conf.d/
          For .zip and .tar.gz archives: {extract.path}/config
        kafka.client.truststore.jks For Debian and RPM packages: /etc/logstash/ssl/
          For .zip and .tar.gz archives: {extract.path}/ssl
      Windows CAS_Elasticsearch_LogStash_Config.config C:\logstash-7.xx.x\config

      For information on the default directory structure of Logstash installation packages, see Logstash documentation.

    3. Open the Logstash config file and do the following:

      1. In the input section of the file, enter the following information:

        • Password: The password of the account that you have created in Citrix Analytics for Security to prepare the configuration file.

        • SSL truststore location: The location of your SSL client certificate. This is the location of the kafka.client.truststore.jks file in your host machine.

        Elasticsearch input section

      2. In the output section of the file, enter the address of your host machine or the cluster where Elasticsearch is running.

        Elasticsearch output section

    4. Restart your host machine to send processed data from Citrix Analytics for Security to Elasticsearch.

After configuration is complete, verify that you can view the Citrix Analytics data in your Elasticsearch.

Turn on or off data transmission

After Citrix Analytics for Security prepares the configuration file, data transmission is turned on for Elasticsearch.

To stop transmitting data from Citrix Analytics for Security:

  1. Go to Settings > Data Sources > Security > DATA EXPORTS.

  2. On the SIEM site card, select the vertical ellipsis (⋮) and then click Turn off data transmission.

    SIEM transmission turn off

To enable data transmission again, on the SIEM site card, click Turn on Data Transmission.

SIEM transmission turn on

Elasticsearch integration