change 9805 pipeline to send to self. fix extra_hosts for logstash

This commit is contained in:
m0duspwnens
2023-12-14 10:01:03 -05:00
parent be8ed1e1d8
commit 03b2a7d2de
2 changed files with 13 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ output {
if [metadata][pipeline] {
if [metadata][_id] {
elasticsearch {
hosts => "{{ GLOBALS.manager }}"
hosts => "{{ GLOBALS.hostname }}"
ecs_compatibility => v8
data_stream => true
user => "{{ ES_USER }}"
@@ -17,7 +17,7 @@ output {
}
else {
elasticsearch {
hosts => "{{ GLOBALS.manager }}"
hosts => "{{ GLOBALS.hostname }}"
ecs_compatibility => v8
data_stream => true
user => "{{ ES_USER }}"
@@ -30,7 +30,7 @@ output {
}
else {
elasticsearch {
hosts => "{{ GLOBALS.manager }}"
hosts => "{{ GLOBALS.hostname }}"
ecs_compatibility => v8
data_stream => true
user => "{{ ES_USER }}"