Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added index template for MonitoringDB
Browse files Browse the repository at this point in the history
fstagni committed Jun 11, 2024
1 parent da30d4b commit bdb7468
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions src/DIRAC/MonitoringSystem/DB/MonitoringDB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"index_patterns": ["wmshistory_index_*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 1
},
"mappings": {
"properties": {
"Status": {
"type": "keyword"
},
"Site": {
"type": "keyword"
},
"JobSplitType": {
"type": "keyword"
},
"ApplicationStatus": {
"type": "keyword"
},
"MinorSite": {
"type": "keyword"
},
"User": {
"type": "keyword"
},
"UserGroup": {
"type": "keyword"
},
"JobGroup": {
"type": "keyword"
}
}
}
}
{
"index_patterns": ["pilotshistory_index_*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 1
},
"mappings": {
"properties": {
"GridSite": {
"type": "keyword"
},
"GridType": {
"type": "keyword"
},
"Status": {
"type": "keyword"
},
"NumOfPilots": {
"type": "long"
}
}
}
}

0 comments on commit bdb7468

Please sign in to comment.