Skip to content

Commit

Permalink
Merge pull request #13414 from Security-Onion-Solutions/fix/system_ma…
Browse files Browse the repository at this point in the history
…pping

Fix system mapping
  • Loading branch information
weslambert authored Jul 31, 2024
2 parents 63531cd + 9264a03 commit 9a2252e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/elasticsearch/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9101,6 +9101,7 @@ elasticsearch:
- logs-system.auth@custom
- so-fleet_globals-1
- so-fleet_agent_id_verification-1
- so-system
data_stream:
allow_custom_routing: false
hidden: false
Expand Down Expand Up @@ -9195,6 +9196,7 @@ elasticsearch:
- logs-system.syslog@custom
- so-fleet_globals-1
- so-fleet_agent_id_verification-1
- so-system
data_stream:
allow_custom_routing: false
hidden: false
Expand Down
29 changes: 29 additions & 0 deletions salt/elasticsearch/templates/component/so/so-system-mappings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"template": {
"mappings": {
"properties": {
"host": {
"properties":{
"ip": {
"type": "ip"
}
}
},
"related": {
"properties":{
"ip": {
"type": "ip"
}
}
},
"source": {
"properties":{
"ip": {
"type": "ip"
}
}
}
}
}
}
}

0 comments on commit 9a2252e

Please sign in to comment.