Skip to content
Connector

ElasticSearch

Fetch incidents from an Elasticsearch index on a schedule

A fork of the FortiSOAR Elasticsearch connector that adds a fetch incidents operation querying an index with a time filter.

@ftnt-dspilleMaintainer v4.0.1 Published Nov 4, 2026
Download .tgz · 52 KB

elasticsearch_4.0.1.tgz

sha256:795f5eb71137e4b6411733c45bf2a1004ebf4c9b23199946ff4f239bbc78777a

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Fork of a Content Hub connector

An enhanced copy of ElasticSearch elasticsearch v4.0.0Original's documentation

Operations this fork adds over the original 1 of 10 total

  • Fetch Incidents

What the author changed: Adds a fetch incidents operation that queries an index with a time filter, for pulling alerts into FortiSOAR on a schedule.

Keeps the original's machine name, so importing this upgrades the Content Hub connector in place and existing configurations survive. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.

Configuration · 6 fields

  • Server URL server_url text required

    The FQDN or IP address of the ElasticSearch server to which you will connect.

  • Protocol protocol select required

    The Protocol used to connect to the ElasticSearch server remotely. Choose between http or https. By default, https is used.

    Default https

    Options httpshttp
  • Authentication Type authentication_type select required
    Options Basic AuthenticationAPI Key Authentication

    When Authentication Type is Basic Authentication

    • Username username text

      The Username to access the ElasticSearch server to which you will connect and perform the automated operations.

    • Password password password

      The Password to access the ElasticSearch server to which you will connect and perform the automated operations.

    When Authentication Type is API Key Authentication

    • API Key api_key password required

      API Key to access the ElasticSearch server to which you will connect and perform automated operations.

  • Port port integer

    The Port number that is used to connect to the elasticsearch server. The default value is set to 9200.

    Default 9200

  • Maximum Retries max_retries integer

    Set the maximum retries and connection timeout default value is set to 30 seconds.

    Default 0

  • Verify SSL verify_ssl checkbox

    Default true

Operations · 10

  • Get Cluster Details 2 params
    get_cluster_details

    Retrieves cluster details and the health information about the cluster configured on your ElasticSearch instance, based on the index you have specified.

    • Index index text

      An index is a logical namespace that maps to one or more primary shards and can have zero or more replica shards. Specify a particular index whose cluster details you want to retrieve from ElasticSearch.

    • Run As User run_as_user text

      Run as user is kind of a delegation of account access to a different account or an admin account. For example, User X take on the role of User Y with the help of run as user mechanism

    Returns cluster_details
  • Get Mapping 3 params
    get_mapping

    Retrieves a list of indices, which includes the type of indices that are currently configured on your ElasticSearch instance.

    • Index index text

      An index is a logical namespace that maps to one or more primary shards and can have zero or more replica shards. You can specify a particular index or if you search for all indices, which are currently configured on your ElasticSearch instance, use _all.

    • Type doc_type text

      Type in ElasticSearch represents a class of similar documents. Specify the type of indices for which you want to retrieve details.

    • Run As User run_as_user text

      Run as user is kind of a delegation of account access to a different account or an admin account. For example, User X take on the role of User Y with the help of run as user mechanism

    Returns mapping
  • Execute Query 6 params
    execute_query

    Executes a query and fetches data from your ElasticSearch instance, based on the input filters.

    • Query query text required

      Specify a stringified JSON formatted query used for searching data in ElasticSearch

    • Index index text

      An index is a logical namespace that maps to one or more primary shards and can have zero or more replica shards. Specify a particular index, based on which you want to run the query.

    • Type doc_type text

      Type in ElasticSearch represents a class of similar documents. Specify the type of indices, based on which you want to run the query.

    • Routing routing text

      Name of the shard for which you want to retrieve data.

    • Run As User run_as_user text

      Run as user is kind of a delegation of account access to a different account or an admin account. For example, User X take on the role of User Y with the help of run as user mechanism

    • Size size integer

      Set the number of record you want to fetch. Default is 10.

      Default 10

    Returns _shardstookhitsaggregationstimed_out
  • Execute Lucene Query 4 params
    execute_lucene_query

    Executes a search query without using Elastic's DSL Query Syntax. An example query to search for the term "phishing" in documents where the status field is set to 200 would look like this: phishing AND status:200

    • Query query text required
    • Index index text

      An index is a logical namespace that maps to one or more primary shards and can have zero or more replica shards. Specify a particular index, based on which you want to run the query.

    • Size size integer

      Set the number of results to return. Default is 10.

      Default 10

    • Run As User run_as_user text

      Run as user is kind of a delegation of account access to a different account or an admin account. For example, User X take on the role of User Y with the help of run as user mechanism

    Returns _shardstookhitsaggregationstimed_out
  • Get Saved Search 2 params
    get_saved_search

    Retrieves details of saved searches from ElasticSearch/Kibana.

    • Object ID object_id text required

      The Object ID of saved search.

    • Port port integer

      The port of Kibana server from which need to retrieve the saved search.

      Default 5601

    Returns versionidupdated_attypeattributes
  • Get Alerts List 5 params
    get_alerts_list

    Retrieves list of Alerts from ElasticSearch/Kibana.

    • Start Time start datetime required

      Starting date time.

    • End Time end datetime required

      Ending date time.

    • Query query json

      Specify query DSL that determines which results are returned from ElasticSearch.

    • Limit size integer

      The maximum number of records to return.

      Default 50

    • Port port integer

      The port of Kibana server from which need to retrieve the Alerts.

      Default 5601

    Returns tooktimed_out_shardshitsaggregations
  • Set Alert Status 4 params
    set_alert_status

    Sets the status of Alert in ElasticSearch/Kibana.

    • Status status text required

      Specify the alert status. For example: open, acknowledged or closed.

    • Alert ID signal_ids text

      The Alert IDs whose status to be set.

    • Query query json

      Specify query DSL that determines which alerts are updated in ElasticSearch

    • Port port integer

      The port of Kibana server from which need to set the status of the Alert.

      Default 5601

    Returns tooktimed_outtotalupdateddeletedbatchesversion_conflictsnoopsretriesthrottled_millisrequests_per_secondthrottled_until_millisfailures
  • Apply Alert Tags 4 params
    apply_alert_tags

    Add and remove Alert tags in ElasticSearch/Kibana.

    • Alert ID ids text required

      The Alert IDs to which the tags to be set.

    • Tags to Add tags_to_add text

      Specify the alert tag to add. For example: False Positive.

    • Tags to Remove tags_to_remove text

      Specify the alert tag to remove. For example: Further Investigation Required.

    • Port port integer

      The port of Kibana server from which need to apply tags to the Alert.

      Default 5601

    Returns tookerrorsitems
  • Assign or Unassign Users from Alerts 4 params
    assign_unassign_users_from_alert

    Assign or Unassign Users from Alert in ElasticSearch/Kibana.

    • Alert ID ids text required

      The Alert IDs to which the users to be assigned or unassigned.

    • Assign User add text

      Specify the user to assign to Alert.

    • Unassign User remove text

      Specify the user to unassign to Alert.

    • Port port integer

      The port of Kibana server from which need to assign or unassign user from Alert.

      Default 5601

    Returns tooktimed_outtotalupdateddeletedbatchesversion_conflictsnoopsretriesthrottled_millisrequests_per_secondthrottled_until_millisfailures
  • Fetch Incidents fork addition 4 params
    fetch_incidents

    Executes query to fetch incidents from Elastisearch based on input parameters.

    • Index index text required

      Elasticsearch index or index pattern to search

    • Fetch Query fetchQuery text

      Params to filter query. Example: kibana.alert.rule.tags : (“PROD” or “HIGH_Severity”)

    • Pull Time pullTime datetime

      Specify the last pull time to create time range

    • Fetch Size fetchSize integer

      Number of incidents to fetch per run. Default is 50.

      Default 50

Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000