-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13402 from Security-Onion-Solutions/foxtrot
Elastic 8.14.3
- Loading branch information
Showing
10 changed files
with
352 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 0 additions & 107 deletions
107
salt/elasticsearch/files/ingest/.fleet_final_pipeline-1
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"version": 3, | ||
"_meta": { | ||
"managed_by": "securityonion", | ||
"managed": true | ||
}, | ||
"description": "Custom pipeline for processing all incoming Fleet Agent documents. \n", | ||
"processors": [ | ||
{ "set": { "ignore_failure": true, "field": "event.module", "value": "elastic_agent" } }, | ||
{ "split": { "if": "ctx.event?.dataset != null && ctx.event.dataset.contains('.')", "field": "event.dataset", "separator": "\\.", "target_field": "module_temp" } }, | ||
{ "set": { "if": "ctx.module_temp != null", "override": true, "field": "event.module", "value": "{{module_temp.0}}" } }, | ||
{ "gsub": { "if": "ctx.event?.dataset != null && ctx.event.dataset.contains('.')", "field": "event.dataset", "pattern": "^[^.]*.", "replacement": "", "target_field": "dataset_tag_temp" } }, | ||
{ "append": { "if": "ctx.dataset_tag_temp != null", "field": "tags", "value": "{{dataset_tag_temp}}" } }, | ||
{ "set": { "if": "ctx.network?.direction == 'egress'", "override": true, "field": "network.initiated", "value": "true" } }, | ||
{ "set": { "if": "ctx.network?.direction == 'ingress'", "override": true, "field": "network.initiated", "value": "false" } }, | ||
{ "set": { "if": "ctx.network?.type == 'ipv4'", "override": true, "field": "destination.ipv6", "value": "false" } }, | ||
{ "set": { "if": "ctx.network?.type == 'ipv6'", "override": true, "field": "destination.ipv6", "value": "true" } }, | ||
{ "set": { "if": "ctx.tags.0 == 'import'", "override": true, "field": "data_stream.dataset", "value": "import" } }, | ||
{ "set": { "if": "ctx.tags.0 == 'import'", "override": true, "field": "data_stream.namespace", "value": "so" } }, | ||
{ "date": { "if": "ctx.event?.module == 'system'", "field": "event.created", "target_field": "@timestamp","ignore_failure": true, "formats": ["yyyy-MM-dd'T'HH:mm:ss.SSSX","yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'"] } }, | ||
{ "community_id":{ "if": "ctx.event?.dataset == 'endpoint.events.network'", "ignore_failure":true } }, | ||
{ "set": { "if": "ctx.event?.module == 'fim'", "override": true, "field": "event.module", "value": "file_integrity" } }, | ||
{ "rename": { "if": "ctx.winlog?.provider_name == 'Microsoft-Windows-Windows Defender'", "ignore_missing": true, "field": "winlog.event_data.Threat Name", "target_field": "winlog.event_data.threat_name" } }, | ||
{ "set": { "if": "ctx?.metadata?.kafka != null" , "field": "kafka.id", "value": "{{metadata.kafka.partition}}{{metadata.kafka.offset}}{{metadata.kafka.timestamp}}", "ignore_failure": true } }, | ||
{ "remove": { "field": [ "message2", "type", "fields", "category", "module", "dataset", "event.dataset_temp", "dataset_tag_temp", "module_temp" ], "ignore_missing": true, "ignore_failure": true } } | ||
] | ||
} |
201 changes: 201 additions & 0 deletions
201
...icsearch/templates/component/elastic-agent/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
{ | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"lifecycle": { | ||
"name": "metrics" | ||
}, | ||
"default_pipeline": "metrics-fleet_server.agent_status-1.5.0", | ||
"mapping": { | ||
"total_fields": { | ||
"limit": "1000" | ||
} | ||
} | ||
} | ||
}, | ||
"mappings": { | ||
"dynamic": false, | ||
"_source": { | ||
"mode": "synthetic" | ||
}, | ||
"properties": { | ||
"cluster": { | ||
"properties": { | ||
"id": { | ||
"time_series_dimension": true, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"fleet": { | ||
"properties": { | ||
"agents": { | ||
"properties": { | ||
"offline": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"total": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"updating": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"inactive": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"healthy": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"unhealthy": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"unenrolled": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"enrolled": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"unhealthy_reason": { | ||
"properties": { | ||
"output": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"input": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"other": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
} | ||
} | ||
}, | ||
"upgrading_step": { | ||
"properties": { | ||
"rollback": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"requested": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"restarting": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"downloading": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"scheduled": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"extracting": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"replacing": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"failed": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
}, | ||
"watching": { | ||
"time_series_metric": "gauge", | ||
"meta": {}, | ||
"type": "long" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"agent": { | ||
"properties": { | ||
"id": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"version": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"@timestamp": { | ||
"ignore_malformed": false, | ||
"type": "date" | ||
}, | ||
"data_stream": { | ||
"properties": { | ||
"namespace": { | ||
"type": "constant_keyword" | ||
}, | ||
"type": { | ||
"type": "constant_keyword" | ||
}, | ||
"dataset": { | ||
"type": "constant_keyword" | ||
} | ||
} | ||
}, | ||
"kibana": { | ||
"properties": { | ||
"uuid": { | ||
"path": "agent.id", | ||
"type": "alias" | ||
}, | ||
"version": { | ||
"path": "agent.version", | ||
"type": "alias" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"_meta": { | ||
"package": { | ||
"name": "fleet_server" | ||
}, | ||
"managed_by": "fleet", | ||
"managed": true | ||
} | ||
} |
Oops, something went wrong.