Skip to content
GitLab
Explore
Sign in
Admin message
A maintenance window for GitLab is scheduled on Wednesday, September 23rd, from 08:00 to 13:00.
Changes
Page history
Improved oldb datapoint article: oldb_ela_list
authored
Aug 26, 2022
by
Marcus Schilling
Hide whitespace changes
Inline
Side-by-side
KnowledgeBase/CII.md
View page @
48feaa5f
...
@@ -1564,7 +1564,7 @@ If the above didn't help, find out which "half" of the datapoint exists.
...
@@ -1564,7 +1564,7 @@ If the above didn't help, find out which "half" of the datapoint exists.
Define the following shell functions (note: not applicable to redis-clusters):
Define the following shell functions (note: not applicable to redis-clusters):
```
```
function oldb_ela_list { curl -s -X GET localhost:9200/configuration_instance/_search?q=data.uri.value:\"$1\" | jq -r '.hits.hits[]._id' | sort ; }
function oldb_ela_list { curl -s -X GET localhost:9200/configuration_instance/_search?
size=2000\&
q=data.uri.value:\"$1\" | jq -r '.hits.hits[]._id' | sort ; }
function oldb_ela_del { curl -s -X POST localhost:9200/configuration_instance/_delete_by_query?q=data.uri.value:\"$1\" | jq -r '.deleted' ; }
function oldb_ela_del { curl -s -X POST localhost:9200/configuration_instance/_delete_by_query?q=data.uri.value:\"$1\" | jq -r '.deleted' ; }
...
...