Skip to main content
Skip table of contents

Elastic Cloud

Actions for Elastic Cloud

  • Send to Elastic Cloud Index. Sends a custom set of Lucidum data to Elastic Cloud.

Use Cases

Below are the possible use cases for this action:

  • If you want to run Lucidum “headless”, you can send relevant data to Elastic Cloud on a regular schedule.

  • You can send data to Elasticsearch to be indexed, searched, and analyzed.

Prerequisites

Before you can execute actions on Elastic Cloud, you must first create an account on Elastic Cloud and retrieve the following:

  • API Key ID

  • API Key Secret (value of the key)

https://www.elastic.co/guide/en/cloud/current/ec-api-keys.html

Workflows

Elastic Cloud Configuration

  • Configuration Name. Identifier for the Configuration. This name will appear in the Lucidum Action Center.

  • Cloud ID. Unique identifier for the hosted Elasticsearch cluster on Elasticsearch Service. You can find the Cloud ID in the Elasticsearch Service web console.

  • API Key ID. The name of the API key.

  • API Key. The value of the API key.

  • Max # of Records per Payload. The maximum number of records to send to Elastic Cloud in each action. The default value is “50”.

  • Verify SSL. For future use. The default value is “False”.

Create or Edit an Action

You can create the following types of Actions for Elastic Cloud:

  • Send to Elastic Cloud Index. Sends a custom set of Lucidum data to Elastic Cloud.

To create an action for Elastic Cloud:

  1. Go to the Create a New Action page.

  2. In the General step, enter values in these fields:

    • Action Type. Select Send to Elastic Cloud Index from the pulldown options. You can specify which action (patch device or reboot device) later in these steps.

    • Configuration Name. Select an action configuration from the pulldown options.

    • Action Name. Identifier for the action. This name will appear in the Lucidum Action Center.

    • Description. Description of the action.

  3. Click the Next (>) icon.

  4. In the Filters page, click Configure Filters.

  5. The Build a Query page appears.

    build_query1_updated.png

  6. In the Build a Query page, you define the query for the assets or users that the action will act upon.

  7. Click Next.

  8. In the Build a Current Query page, enter the fields, operators, and values for the query. For existing actions, the query is already loaded in this page.

    build_query2_updated.png
  9. For details on creating and editing queries in Lucidum, see the section on Building Queries.

    NOTE: To optimize performance, the default time range is Current. If you need to access historical data, contact Lucidum Custom Success for help on using historical data without affecting performance.

  10. Click the Apply (page and pencil) icon.

  11. Click the Next (>) icon.

  12. The Schedule page appears.

  13. In the Schedule page, enter: 

    • Schedule Type. Define the schedule for the action. Choices are:

      • Recurrence. Specify a frequency for the recurring schedule.

      • After Data Ingestion. The action is executed after data ingestion, which happens at least once every 24 hours and can also be triggered manually.

    • Do not trigger the action unless. Specify the number of results from Filters as a prerequisite for executing the action.

  14. Click the Next (>) icon.

  15. In the Details step, enter the following:

  16. In the Details page, enter the following:

    • Output Fields. For the records selected with the Filters field, specify the columns to display. When creating or editing the query in the Filters field, you can select these fields in the Query Results page > Edit Column button.

    • Elastic Cloud Index Name. Specify the Elasticsearch index where you want to store the sent Lucidum data.

    • De-dupe Previous Jobs. In this field, you specify whether you want duplicates of asset IDs (if your query is for assets) or user IDs (if your query is for users). You can specify integers between 0 and the number specified in Settings > Data Settings > Action Result Retention in Days. This setting specifies the number of days that Lucidum stores action results.

      • If you specify “0” (zero), Lucidum includes all the records from the query in each delivery to Elastic Cloud.

      • If you specify “1” (one), Lucidum examines the previous webhook payload and excludes records for asset IDs or user IDs that were sent in the delivery to Elastic Cloud.

      • If you specify “2” (two), Lucidum examines the last two webhook payloads and excludes records for asset IDs or user IDs that were sent in the previous two deliveries to Elastic Cloud.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.