Jakub Sokołowski
|
b313825d25
|
elasticsearch/esclean.py: add propper logger usage
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2024-07-24 11:03:53 +02:00 |
Jakub Sokołowski
|
1f4f88d31f
|
elasticsearch/esclean.py: parametrize retries
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2024-07-24 10:25:38 +02:00 |
Jakub Sokołowski
|
ce6071e292
|
elasticsearch/esclean.py: add ES timeout flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2024-07-24 10:23:26 +02:00 |
Jakub Sokołowski
|
42818e26f5
|
elasticsearch/esclean: fix deprecation warnings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2024-07-15 11:49:19 +02:00 |
Jakub Sokołowski
|
5b0bf5d420
|
elasticsearch/esclean: add logsource flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2024-01-31 16:07:01 +01:00 |
Jakub Sokołowski
|
5dc408f866
|
elasticsearch/esclean.py: add missing schema argument
Fixes:
```
TypeError: __init__() missing 1 required positional argument: 'scheme'
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2023-12-04 18:37:37 +01:00 |
Jakub Sokołowski
|
1e1228cd3a
|
elasticsearch/esclean.py: use match for fleet field
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2023-06-26 21:04:27 +02:00 |
Jakub Sokołowski
|
0f4dbde7f8
|
elasticsearch/esclean.py: allow use of wildcard with program
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2021-06-14 13:28:40 +02:00 |
Jakub Sokołowski
|
7baff3493d
|
esclean.py: add support for source IP and tags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-05-27 13:02:10 +02:00 |
Jakub Sokołowski
|
4f3ccd269e
|
esclean.py: fix query argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-05-27 09:22:35 +02:00 |
Jakub Sokołowski
|
4b28eae979
|
fix help
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-02-20 22:45:32 +01:00 |
Jakub Sokołowski
|
adf52e441f
|
lower the backoff and delay
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-02-20 16:28:57 +01:00 |
Jakub Sokołowski
|
a647b307e9
|
esclean: fix retry
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-02-19 23:01:36 +01:00 |
Jakub Sokołowski
|
ab457106a6
|
esclean: add --older-than flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-02-07 13:16:11 +01:00 |
Jakub Sokołowski
|
bdb06a90bd
|
add retries to esclean.py
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2020-01-13 17:27:46 +01:00 |
Jakub Sokołowski
|
07f1c4297d
|
if there's nothing to delete dont delete
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2019-06-13 00:14:32 -04:00 |
Jakub Sokołowski
|
bcc5793486
|
add --severity option
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2019-06-13 00:10:57 -04:00 |
Jakub Sokołowski
|
9174a62108
|
increase timeout and add retries
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2019-04-24 12:58:33 +02:00 |
Jakub Sokołowski
|
67f794df1c
|
add --fleet search term
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-11-30 11:27:49 +01:00 |
Jakub Sokołowski
|
563f840e4a
|
add timeout, fix when deleting/querying is ran
|
2018-11-28 12:18:31 +01:00 |
Jakub Sokołowski
|
1b8754c424
|
add script for quietying ES and deleting logs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-11-26 23:49:16 +01:00 |