Add dev stacks
This commit is contained in:
40
stacks/network-mcp/ilm/network-hosts-template.json
Normal file
40
stacks/network-mcp/ilm/network-hosts-template.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"index_patterns": ["network-hosts"],
|
||||
"template": {
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"host": {
|
||||
"properties": {
|
||||
"id": { "type": "keyword" },
|
||||
"name": { "type": "keyword" },
|
||||
"fqdn": { "type": "keyword" },
|
||||
"ips": { "type": "ip" },
|
||||
"macs": { "type": "keyword" },
|
||||
"first_seen": { "type": "date" },
|
||||
"last_seen": { "type": "date" },
|
||||
"last_state_change": { "type": "date" },
|
||||
"state": { "type": "keyword" },
|
||||
"role": { "type": "keyword" },
|
||||
"tags": { "type": "keyword" },
|
||||
"notes": { "type": "text" }
|
||||
}
|
||||
},
|
||||
"ports": {
|
||||
"properties": {
|
||||
"port": { "type": "integer" },
|
||||
"proto": { "type": "keyword" },
|
||||
"state": { "type": "keyword" },
|
||||
"first_seen": { "type": "date" },
|
||||
"last_seen": { "type": "date" },
|
||||
"service": {
|
||||
"properties": {
|
||||
"name": { "type": "keyword" },
|
||||
"product": { "type": "keyword" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user