| ... | ... | @@ -8,9 +8,9 @@ Ważne aby nie ograniczać zapytania do mniej niż dwóch indexów aby nie zgubi |
|
|
|
|
|
|
|
Statysyka ostatnich dwóch indexów
|
|
|
|
```bash
|
|
|
|
curl http://demo:demo@ela.cludo.pl:9200/<customer_demo-{now{xxxx.ww}}>,<customer_demo-{now-7d{xxxx.ww}}>/_stats/docs?pretty
|
|
|
|
curl 'http://demo:demo@ela.cludo.pl:9200/<customer_demo-\{now\{xxxx.ww\}\}>,<customer_demo-\{now-7d\{xxxx.ww\}\}>/_stats/docs?pretty'
|
|
|
|
```
|
|
|
|
Zapytanie ograniczone do ostatnich dwóch indexów.
|
|
|
|
```bash
|
|
|
|
curl http://demo:demo@ela.cludo.pl:9200/<customer_demo-{now{xxxx.ww}}>,<customer_demo-{now-7d{xxxx.ww}}>/_search?q=session.DNIS:48600390338
|
|
|
|
curl 'http://demo:demo@ela.cludo.pl:9200/<customer_demo-\{now\{xxxx.ww\}\}>,<customer_demo-\{now-7d\{xxxx.ww\}\}>/_search?q=session.DNIS:48600390338'
|
|
|
|
``` |
|
|
\ No newline at end of file |