Commit Graph
149 Commits
Author SHA1 Message Date
Ashish Kolhe 7f6aef9ecb implement enum (#519) 2023-04-07 17:33:54 +05:30
Ashish Kolhe 22fa7e51af feat: added support for vpc flow logs (#516)
* Added support for vpc flowlogs

* fixed UT

* updated cov.sh
2023-04-07 13:36:29 +05:30
d57c57c432 feat: Accept cloud watch logs through amazon kinesis firehose and VRL functions (#512)
* added vrl functions

* vrl functions

* incorporated comments

* Added kinesis changes

* fixes

* Apply suggestions from code review

Co-authored-by: Valeriy V. Vorotyntsev <valery.vv@gmail.com>

* Revert "Apply suggestions from code review"

This reverts commit b25690802d.

* Latest Changes

* access key changes

* clippy fixes

* fix: router support aws API

* fix: format code

* fix: test coverage

---------

Co-authored-by: Valeriy V. Vorotyntsev <valery.vv@gmail.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2023-04-07 08:24:14 +05:30
Hengfei Yang c17446dc86 fix: s3 prefix (#515) 2023-04-07 00:57:24 +08:00
Hengfei Yang 90999b16b3 fix: make zo_functions as default feature (#508)
* fix: make zo_functions as default feature

* fix: cargo clippy

* fix: format code
2023-04-06 15:38:24 +08:00
Ashish Kolhe a8801b6d04 feat: vrl functions (#507)
* added vrl functions

* vrl functions

* commented functions feature

* fixed clippy warning

* incorporated comments
2023-04-06 08:20:18 +05:30
Hengfei Yang 10a024ad10 feat: change s3 configure params (#499)
* feat: change s3 configure params
* fix: improve code format
* ci: trigger ci
* fix: depends
2023-04-04 23:41:17 +08:00
Ashish Kolhe e1d74df2c1 fix: _bulk api response changes (#498)
* fix: bulk ingestion response type change

* fix: bulk ingestion response type change
2023-04-04 14:49:16 +05:30
Hengfei Yang 41a88ba513 fix: panic with datafusion 21 (#496)
* fix: panic with datafusion 21

* fix: bump datafusion to 21.1.0

* fix: change some logs

* fix: unit test of test_cluster

* fix: #494

* feat: add command reset dashboard

* fix: rollback search in local
2023-04-04 16:24:23 +08:00
Sebastian YEPESandHengfei Yang d72976c3d8 feat: add storage operation times (#493)
* add storage operation times
* fix typo
* move to counter
* Final fix
* format code

---------

Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2023-04-04 11:08:41 +08:00
Hengfei Yang bef8e31d2e feat: add prefix for s3 bucket (#492) 2023-04-03 21:59:13 +08:00
Ashish Kolheandhengfeiyang 5dc481d7a0 fix: Alerts fixes & openstack swift support (#490)
* Alerts fixes & openstack swift support

* fix: enable force style for swift

---------

Co-authored-by: hengfeiyang <hengfei.yang@gmail.com>
2023-04-03 14:41:51 +05:30
Hengfei Yang b4ef7d3b16 fix: format time (#483)
* fix: format time

* fix: delete comment

* feat: bump datafusion version to 21

* fix: change default compact interval

* fix: delete concact function from SQL

* fix: delete concat function from SQL
2023-04-02 12:04:36 +08:00
Hengfei Yang 5d05f8bb49 fix: histogram time format (#482)
* fix: format time
* fix: date format
* fix: histogram time format
* fix: format histogram label
2023-04-01 17:11:31 +08:00
Hengfei Yang a12c252ad0 feat: add more log or core (#481) 2023-03-31 23:58:12 +08:00
Ashish Kolhe 39b11a9172 fix: rename keys (#478)
* fix: rename keys

* fix: rename keys
2023-03-31 19:30:22 +05:30
e289762604 fix: typed dashboard structs (#466)
* WIP: introduce `DashboardXxx`; use it for `save_dashboard`

* service::db::dashboard::list: handle errors, don't unwrap

* [WIP] Update `service::db::dashboard::list`

* XXX The code compiles, but the Dashboards page shows nothing

* web: repair 'dashboards' page

Don't `JSON.parse` backend's response, it's JSON already.

* [WIP] Repair the "view dashboard" page

Saving panel(s) is still broken.

* meta::dashboards.rs: define `Panel` struct

* Fix `Panel` struct definition

* Use `crate::common::json` instead of `serde_json`

* remove json stringify for the dashboard

* Fixed dashboards

* WIP: introduce `DashboardXxx`; use it for `save_dashboard`

* service::db::dashboard::list: handle errors, don't unwrap

* [WIP] Update `service::db::dashboard::list`

* XXX The code compiles, but the Dashboards page shows nothing

* web: repair 'dashboards' page

Don't `JSON.parse` backend's response, it's JSON already.

* [WIP] Repair the "view dashboard" page

Saving panel(s) is still broken.

* meta::dashboards.rs: define `Panel` struct

* Fix `Panel` struct definition

* Use `crate::common::json` instead of `serde_json`

* remove json stringify for the dashboard

* Fixed dashboards

* Added all aggregate functions

* FIXED TESTS

* fixed integration tests

* Updated coverage threshold

---------

Co-authored-by: ktx-keshavi <keshavi.bhalani@kiara.tech>
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
2023-03-31 17:03:34 +05:30
Ashish Kolhe 25c798568d fix: functions refactor (#464)
* Functions_refactor

* added disclaimer

* Changes to traces & metrics

* Lua for grpc requests

* open api specs

* fixed build issues

* fixes

* Changed import
2023-03-30 19:27:18 +08:00
Hengfei Yang de3c42191d ci: update base image rust version (#458) 2023-03-30 00:39:25 +08:00
Ashish Kolhe d880dc86d7 added instance id to config response (#459) 2023-03-29 22:46:04 +08:00
Valeriy V. Vorotyntsev f45aa93a84 refactor: inline format args; ci: deny clippy warnings (#449)
I got carried away and overdid refactoring. The resulting patch
is difficult to review in several places. I do beg your (reviewers')
pardon.
2023-03-29 12:35:07 +03:00
Hengfei Yang 71c9fac2f7 fix: issue #445 (#448) 2023-03-28 22:00:55 +08:00
Ashish Kolhe 9e63d1cac4 fix: functions_refactor (#439)
* Functions_refactor

* added disclaimer
2023-03-27 19:37:54 +05:30
Prabhat Sharmaandhengfeiyang 6c1a864e5f docs: add healthz openapi doc (#431)
* add healthz openapi doc

* feat: add healthz to openAPI

---------

Co-authored-by: hengfeiyang <hengfei.yang@gmail.com>
2023-03-27 09:58:31 +08:00
Hengfei Yang d4c724df8d fix: query in multiple lines is not working (#430) 2023-03-26 21:14:46 +08:00
Hengfei Yang bd3659ee06 fix: format json code (#428) 2023-03-26 11:25:42 +08:00
Ashish Kolhe 41aad88f35 fix: routing issue (#415)
* fix: routing issue

* Fixed UT's
2023-03-25 14:07:57 +05:30
Ashish Kolhe 2474a2be29 Updated stream size in mb (#408) 2023-03-25 10:52:54 +05:30
Hengfei Yang 452033a8a2 fix: ui path for dashboards (#407) 2023-03-25 10:26:19 +05:30
Ashish Kolhe 7a94a54bce fix: non-default org user mgmt issue (#396)
* fixed user mgmt issue

* Fixed clippy error

* Updates
2023-03-24 23:19:10 +05:30
Hengfei Yang 7f0042b7fc perf: improve error message (#389) 2023-03-24 22:23:37 +08:00
Ashish KolheandHengfei Yang 1c780748fd add request docs (#382)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2023-03-24 21:00:44 +08:00
Ashish KolheandHengfei Yang 1465495902 shorten api description (#377)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2023-03-24 17:08:11 +08:00
Hengfei Yang 79b707afcb fix: compact with partition keys (#376) 2023-03-24 16:56:23 +08:00
Hengfei Yang 6eed10e594 fix: query total size (#374) 2023-03-24 13:42:34 +08:00
Hengfei Yang 04f6c7f022 fix: file name with partition keys (#372)
* fix: file name with partition keys

* fix: update comment
2023-03-24 09:04:17 +08:00
Ashish Kolhe 05c1c2d531 fix: fetch partition keys & partition data (#370) 2023-03-23 20:51:50 +05:30
Bhargavandhengfeiyang 223ac4bc3e fix: search button label (#366)
* fix: search button label

* fix: ui uni test

---------

Co-authored-by: hengfeiyang <hengfei.yang@gmail.com>
2023-03-23 20:17:44 +08:00
Hengfei Yang 41a6a150a6 fix: ui path with second level directory (#361)
* fix: ui path with second level directory

* fix: ui index

* fix: UI path with subdirectory
2023-03-23 19:32:45 +08:00
Ashish Kolhe 8f24152dae delete destination & template validation (#362) 2023-03-23 16:28:39 +05:30
Ashish Kolhe 49ee959d5e delete alert & destination change fixes (#360) 2023-03-23 15:58:46 +05:30
Hengfei Yang bee9adaa5e feat: add top n values for fields (#354) 2023-03-23 10:08:28 +08:00
Hengfei Yang 36d6c16887 fix: alerts page refresh 404 (#353) 2023-03-22 23:08:46 +08:00
Hengfei Yang 27f4efe2ed fix: send notification error (#351)
* fix: send notication error

* fix: change log level
2023-03-22 22:24:26 +08:00
Hengfei Yang 1fd2caabe7 fix: dashboard path & histogram (#344)
* fix: dashboard path

* feat: auto caculate interval for histogram

* feat: support fix number of histogram
2023-03-22 13:54:11 +08:00
Hengfei Yang d1b311aff6 perf: improve metrics search response (#330) 2023-03-22 10:58:39 +08:00
Ashish Kolhe f5888eee7d fix: updated misleading log (#343)
* Updated misleading log

* Update prom.rs
2023-03-22 10:29:29 +08:00
Ashish Kolhe aae7b5075b Fixed order of inputs for lua multivalue (#341) 2023-03-21 18:47:00 +05:30
Ashish Kolhe c948e96f73 telemetry flag for UI (#339) 2023-03-21 18:26:25 +05:30
Hengfei Yang 03c01893a4 fix: full sql_mode allow without order by (#337) 2023-03-21 18:40:15 +08:00