|
| 1 | +category: Database |
| 2 | +sectionorder: |
| 3 | +- Connect |
| 4 | +- Collect |
| 5 | +commonfields: |
| 6 | + id: ElasticsearchEventCollector |
| 7 | + version: -1 |
| 8 | +configuration: |
| 9 | +- name: url |
| 10 | + display: Server URL |
| 11 | + required: true |
| 12 | + type: 0 |
| 13 | + additionalinfo: The Elasticsearch server to which the integration connects. Ensure that the URL includes the correct Elasticsearch port. The default port for Elasticsearch v7 and below is 9200. Use the Server URL for on-premises deployments. |
| 14 | + section: Connect |
| 15 | +- name: auth_type |
| 16 | + display: Authorization type |
| 17 | + defaultvalue: Basic auth |
| 18 | + additionalinfo: |- |
| 19 | + Select the authentication type and enter the appropriate credentials: |
| 20 | + - Basic Auth: Enter Username and Password. |
| 21 | + - Bearer Auth: Enter Username and Password. |
| 22 | + - API Key Auth: Enter the API Key ID and API Key. |
| 23 | + options: |
| 24 | + - Basic auth |
| 25 | + - Bearer auth |
| 26 | + - API key auth |
| 27 | + type: 15 |
| 28 | + section: Connect |
| 29 | + required: true |
| 30 | +- name: api_key_auth_credentials |
| 31 | + additionalinfo: Use for API key auth |
| 32 | + display: API key ID |
| 33 | + displaypassword: API Key |
| 34 | + type: 9 |
| 35 | + section: Connect |
| 36 | + required: false |
| 37 | +- name: credentials |
| 38 | + additionalinfo: Use for Basic auth. Optionally you can use Username as an API key ID and Password as an API key for API Key auth. |
| 39 | + display: Username |
| 40 | + type: 9 |
| 41 | + section: Connect |
| 42 | + required: false |
| 43 | +- name: insecure |
| 44 | + display: Trust any certificate (not secure) |
| 45 | + type: 8 |
| 46 | + section: Connect |
| 47 | + advanced: true |
| 48 | + required: false |
| 49 | +- name: proxy |
| 50 | + display: Use system proxy settings |
| 51 | + type: 8 |
| 52 | + section: Connect |
| 53 | + advanced: true |
| 54 | + required: false |
| 55 | +- name: client_type |
| 56 | + defaultvalue: Elasticsearch |
| 57 | + additionalinfo: In some hosted ElasticSearch environments, the standard ElasticSearch client is not supported. If you encounter any related client issues, please consider using the OpenSearch client type. |
| 58 | + display: Client type |
| 59 | + options: |
| 60 | + - Elasticsearch |
| 61 | + - OpenSearch |
| 62 | + - Elasticsearch_v8 |
| 63 | + - Elasticsearch_v9 |
| 64 | + type: 15 |
| 65 | + section: Connect |
| 66 | + advanced: true |
| 67 | + required: false |
| 68 | +- name: fetch_index |
| 69 | + display: Index to fetch incidents from |
| 70 | + type: 0 |
| 71 | + section: Collect |
| 72 | + required: false |
| 73 | + additionalinfo: CSV |
| 74 | +- name: fetch_query |
| 75 | + display: Query String |
| 76 | + type: 0 |
| 77 | + additionalinfo: |- |
| 78 | + Query string uses the Lucene syntax. |
| 79 | + For more information about the Lucene syntax, see the link in the help section. |
| 80 | + The query will be used when fetching incidents. Index time field will be used as a filter in the query. |
| 81 | + section: Collect |
| 82 | + required: false |
| 83 | +- name: fetch_time_field |
| 84 | + display: Index time field |
| 85 | + type: 0 |
| 86 | + section: Collect |
| 87 | + required: false |
| 88 | + additionalinfo: The time field used for sorting and limiting results. If using a nested field, separate field names with dot notation. |
| 89 | +- name: raw_query |
| 90 | + display: Raw Query |
| 91 | + type: 12 |
| 92 | + additionalinfo: |- |
| 93 | + Raw Query allows raw DSL queries and will override the 'Query String' Lucene syntax string. |
| 94 | + Results will not be filtered or sorted. Use additional parameters in the raw query for these purposes. |
| 95 | + For more information see the link in the help section. |
| 96 | + section: Collect |
| 97 | + advanced: true |
| 98 | + required: false |
| 99 | +- name: time_method |
| 100 | + display: Time field type |
| 101 | + defaultvalue: 'Simple-Date' |
| 102 | + type: 15 |
| 103 | + options: |
| 104 | + - Simple-Date |
| 105 | + - Timestamp-Seconds |
| 106 | + - Timestamp-Milliseconds |
| 107 | + section: Collect |
| 108 | + advanced: true |
| 109 | + required: false |
| 110 | + additionalinfo: For more information see the explanation in the help section. |
| 111 | +- name: map_labels |
| 112 | + defaultvalue: 'true' |
| 113 | + display: Map JSON fields into labels |
| 114 | + type: 8 |
| 115 | + section: Collect |
| 116 | + advanced: true |
| 117 | + required: false |
| 118 | +- name: fetch_size |
| 119 | + defaultvalue: '5000' |
| 120 | + display: The maximum number of results per fetch |
| 121 | + type: 0 |
| 122 | + section: Collect |
| 123 | + required: false |
| 124 | +- name: timeout |
| 125 | + display: Request timeout (in seconds). |
| 126 | + type: 0 |
| 127 | + defaultvalue: '60' |
| 128 | + section: Connect |
| 129 | + advanced: true |
| 130 | + required: false |
| 131 | +- name: isFetchEvents |
| 132 | + display: Fetch events |
| 133 | + type: 8 |
| 134 | + section: Collect |
| 135 | + required: false |
| 136 | +description: "Search for and analyze data in real time. \n Supports version 6 and later." |
| 137 | +display: Elasticsearch Event Collector |
| 138 | +name: ElasticsearchEventCollector |
| 139 | +script: |
| 140 | + commands: |
| 141 | + - arguments: |
| 142 | + - name: start_time |
| 143 | + description: Start time for fetching events. Supports ISO format ("2023-01-01T23:59:59") or natural language ("2 hours ago", "now"). |
| 144 | + required: true |
| 145 | + - name: end_time |
| 146 | + description: End time for fetching events. Supports ISO format ("2023-01-01T23:59:59") or natural language ("2 hours ago", "now"). |
| 147 | + required: false |
| 148 | + - name: time_method |
| 149 | + auto: PREDEFINED |
| 150 | + defaultValue: 'Simple-Date' |
| 151 | + predefined: |
| 152 | + - Simple-Date |
| 153 | + - Timestamp-Seconds |
| 154 | + - Timestamp-Milliseconds |
| 155 | + required: true |
| 156 | + description: For more information see the explanation in the help section. |
| 157 | + - name: fetch_size |
| 158 | + defaultValue: '10' |
| 159 | + description: The maximum number of results per fetch. |
| 160 | + required: false |
| 161 | + - name: fetch_index |
| 162 | + required: false |
| 163 | + description: CSV. |
| 164 | + - name: fetch_time_field |
| 165 | + required: true |
| 166 | + description: The time field used for sorting and limiting results. If using a nested field, separate field names with dot notation. |
| 167 | + - name: fetch_query |
| 168 | + description: Query string uses the Lucene syntax. |
| 169 | + required: false |
| 170 | + - name: raw_query |
| 171 | + type: 12 |
| 172 | + description: Raw Query allows raw DSL queries and will override the 'Query String' Lucene syntax string. |
| 173 | + required: false |
| 174 | + description: This command is used for developing/ debugging and is to be used with caution, as it can cause the API request limit to be exceeded. |
| 175 | + name: es-get-events |
| 176 | + dockerimage: demisto/elasticsearch:1.0.0.5954979 |
| 177 | + isfetchevents: true |
| 178 | + runonce: false |
| 179 | + script: '-' |
| 180 | + subtype: python3 |
| 181 | + type: python |
| 182 | +marketplaces: |
| 183 | +- marketplacev2 |
| 184 | +- platform |
| 185 | +fromversion: 8.4.0 |
| 186 | +tests: |
| 187 | +- No tests (auto formatted) |
0 commit comments