Elon Cheng
ea694684a0
Calculating the Number of Logs in opensearch ( #5352 )
...
Calculating the Number of Logs
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Co-authored-by: chengdehao <dehaocheng@kubesphere.io >
2022-11-06 21:03:15 +08:00
Eng Zer Jun
d1fec72a32
refactor: move from io/ioutil to io and os packages ( #5266 )
...
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-10-18 15:47:38 +08:00
Elon Cheng
f741bc7943
intergrate opensearch v1 ( #5135 )
...
opensearchv1
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Co-authored-by: chengdehao <dehaocheng@kubesphere.io >
2022-08-12 19:58:33 +08:00
Elon Cheng
7a41af7c0c
add opensearch test ( #5050 )
...
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Co-authored-by: chengdehao <dehaocheng@kubesphere.io >
2022-07-11 23:31:42 +08:00
Elon Cheng
5e2f41f0b9
intergrate opensearch v2 ( #5044 )
...
intergrate opensearch
Signed-off-by: chengdehao <dehaocheng@kubesphere.io >
Co-authored-by: chengdehao <dehaocheng@kubesphere.io >
2022-07-10 15:14:38 +08:00
andrew_li
f289795312
Add golangci-lint workflow ( #4999 )
...
* fix lint workflow
* add golang lint
* close http response body
2022-06-29 11:58:36 +08:00
chengdehao
37369334f1
Optimize the error message
...
Signed-off-by: chengdehao <dehaocheng@yunify.com >
2022-01-25 11:38:51 +08:00
styshoo
a9f28a0805
enable es v7 TrackTotalHits parameter, make sure kubesphere cosole would get correct total number
2021-10-28 18:39:16 +08:00
wanjunlei
41b3551526
Support external es that enables HTTPS
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2021-08-25 16:39:53 +08:00
Daniel Hu
3798959eef
Let ks-apiserver optionally support authentication enabled and es without authentication enabled
...
Signed-off-by: Daniel Hu <farmer.hutao@outlook.com >
2021-04-02 05:59:57 +00:00
zryfish
ac275b6e98
add goimports format action ( #3630 )
...
Signed-off-by: Jeff <jeffzhang@yunify.com >
2021-03-30 13:44:24 +08:00
wanjunlei
a6cb91e6fb
fix bug can not search auditing logs with nil namespace
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2021-03-10 14:56:42 +08:00
wanjunlei
83c010c691
resolve conversation
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-12-29 14:58:26 +08:00
wanjunlei
039507c9ae
add a es client for auditing, events, and logging
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-12-29 14:17:21 +08:00