Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[elasticsearch] Add support for tags #9028

Merged
merged 5 commits into from Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/elasticsearch/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.14.0"
changes:
- description: Add ability to set tags
SimonKoetting marked this conversation as resolved.
Show resolved Hide resolved
type: enhancement
link: https://github.com/elastic/integrations/pull/9028
- version: "1.13.1"
changes:
- description: Make "Total Storage over time" viz consistent with others by using same sourceField
Expand Down
Expand Up @@ -2,6 +2,10 @@ paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/audit/manifest.yml
Expand Up @@ -11,6 +11,12 @@ streams:
show_user: true
default:
- /var/log/elasticsearch/*_audit.json
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
template_path: log.yml.hbs
title: Audit logs
description: Collect Elasticsearch audit logs using log input
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/ccr/manifest.yml
Expand Up @@ -17,3 +17,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
Expand Up @@ -17,3 +17,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -2,6 +2,10 @@ paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/deprecation/manifest.yml
Expand Up @@ -11,6 +11,12 @@ streams:
show_user: true
default:
- /var/log/elasticsearch/*_deprecation.json
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
template_path: log.yml.hbs
title: Deprecation logs
description: Collect Elasticsearch deprecation logs using log input
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/enrich/manifest.yml
Expand Up @@ -17,3 +17,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -2,6 +2,10 @@ paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/gc/manifest.yml
Expand Up @@ -12,6 +12,12 @@ streams:
default:
- /var/log/elasticsearch/gc.log.[0-9]*
- /var/log/elasticsearch/gc.log
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
template_path: log.yml.hbs
title: Garbage Collection logs
description: Collect Elasticsearch gc logs using log input
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/index/manifest.yml
Expand Up @@ -18,3 +18,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -18,6 +18,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
Expand Up @@ -25,3 +25,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
Expand Up @@ -18,3 +18,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
Expand Up @@ -19,4 +19,10 @@ streams:
description: How often to collect the processor-level metrics. Number between 0 and 1.
required: true
show_user: true
default: "0.25"
default: "0.25"
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/ml_job/manifest.yml
Expand Up @@ -18,3 +18,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/node/manifest.yml
Expand Up @@ -18,3 +18,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -17,6 +17,10 @@ period: {{period}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if leaderelection }}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/node_stats/manifest.yml
Expand Up @@ -18,3 +18,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -18,6 +18,10 @@ period: {{period}}
ssl: {{ssl}}
{{/if}}
{{#if leaderelection }}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition }}
condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
{{ else }}
Expand Down
Expand Up @@ -17,3 +17,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -2,6 +2,10 @@ paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/server/manifest.yml
Expand Up @@ -11,6 +11,12 @@ streams:
show_user: true
default:
- /var/log/elasticsearch/*_server.json
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
template_path: log.yml.hbs
title: Server logs
description: Collect server logs using log input
Expand Up @@ -24,6 +24,10 @@ condition: ${kubernetes_leaderelection.leader} == true and {{ condition }}
condition: ${kubernetes_leaderelection.leader} == true
{{/if}}
{{ else }}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition }}
condition: {{ condition }}
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/shard/manifest.yml
Expand Up @@ -17,3 +17,9 @@ streams:
required: true
show_user: true
default: 10s
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
Expand Up @@ -2,6 +2,10 @@ paths:
{{#each paths as |path i|}}
- {{path}}
{{/each}}
tags:
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions packages/elasticsearch/data_stream/slowlog/manifest.yml
Expand Up @@ -12,6 +12,12 @@ streams:
default:
- /var/log/elasticsearch/*_index_search_slowlog.json
- /var/log/elasticsearch/*_index_indexing_slowlog.json
- name: tags
type: text
title: Tags
multi: true
required: false
show_user: false
template_path: log.yml.hbs
title: Slowlog logs
description: Collect Elasticsearch slowlog logs using log input
2 changes: 1 addition & 1 deletion packages/elasticsearch/manifest.yml
@@ -1,6 +1,6 @@
name: elasticsearch
title: Elasticsearch
version: 1.13.1
version: 1.14.0
description: Elasticsearch Integration
type: integration
icons:
Expand Down