From 8af3cecf762b057c31647127086047debbdb73f1 Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Fri, 12 Jan 2024 08:07:04 +0530 Subject: [PATCH] Update the licence headers Also add comments on custom flattening for Kinesis Data Firehose events --- Dockerfile | 2 +- Dockerfile.debug | 2 +- server/build.rs | 2 +- server/src/about.rs | 2 +- server/src/alerts/mod.rs | 2 +- server/src/alerts/parser.rs | 2 +- server/src/alerts/rule.rs | 2 +- server/src/alerts/target.rs | 2 +- server/src/analytics.rs | 2 +- server/src/banner.rs | 2 +- server/src/catalog.rs | 2 +- server/src/catalog/column.rs | 2 +- server/src/catalog/manifest.rs | 2 +- server/src/catalog/snapshot.rs | 2 +- server/src/event.rs | 2 +- server/src/event/format.rs | 2 +- server/src/event/format/json.rs | 2 +- server/src/event/writer.rs | 2 +- server/src/event/writer/file_writer.rs | 2 +- server/src/event/writer/mem_writer.rs | 2 +- server/src/handlers.rs | 14 +++++++--- server/src/handlers/http.rs | 2 +- server/src/handlers/http/about.rs | 2 +- server/src/handlers/http/health_check.rs | 2 +- server/src/handlers/http/ingest.rs | 2 +- server/src/handlers/http/kinesis.rs | 26 ++++++++++++++++++- server/src/handlers/http/llm.rs | 2 +- server/src/handlers/http/logstream.rs | 2 +- server/src/handlers/http/middleware.rs | 2 +- server/src/handlers/http/oidc.rs | 2 +- server/src/handlers/http/query.rs | 2 +- server/src/handlers/http/rbac.rs | 2 +- server/src/handlers/http/role.rs | 2 +- server/src/handlers/livetail.rs | 2 +- server/src/livetail.rs | 2 +- server/src/localcache.rs | 2 +- server/src/main.rs | 2 +- server/src/metadata.rs | 2 +- server/src/metrics/mod.rs | 2 +- server/src/metrics/storage.rs | 2 +- server/src/migration.rs | 2 +- server/src/migration/metadata_migration.rs | 2 +- server/src/migration/schema_migration.rs | 2 +- .../migration/stream_metadata_migration.rs | 2 +- server/src/oidc.rs | 2 +- server/src/option.rs | 2 +- server/src/query.rs | 2 +- server/src/query/filter_optimizer.rs | 2 +- server/src/query/listing_table_builder.rs | 2 +- server/src/query/stream_schema_provider.rs | 2 +- server/src/rbac.rs | 2 +- server/src/rbac/map.rs | 2 +- server/src/rbac/role.rs | 2 +- server/src/rbac/user.rs | 2 +- server/src/response.rs | 2 +- server/src/stats.rs | 2 +- server/src/storage.rs | 2 +- server/src/storage/localfs.rs | 2 +- server/src/storage/object_storage.rs | 2 +- server/src/storage/retention.rs | 2 +- server/src/storage/s3.rs | 2 +- server/src/storage/staging.rs | 2 +- server/src/storage/store_metadata.rs | 2 +- server/src/utils.rs | 2 +- server/src/utils/actix.rs | 2 +- server/src/utils/arrow.rs | 2 +- server/src/utils/arrow/batch_adapter.rs | 2 +- server/src/utils/arrow/merged_reader.rs | 2 +- server/src/utils/arrow/reverse_reader.rs | 2 +- server/src/utils/header_parsing.rs | 2 +- server/src/utils/json.rs | 2 +- server/src/utils/json/flatten.rs | 2 +- server/src/utils/uid.rs | 2 +- server/src/utils/update.rs | 2 +- server/src/validator.rs | 2 +- 75 files changed, 108 insertions(+), 78 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27a977d7b..b61b03831 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Parseable Server (C) 2022 - 2023 Parseable, Inc. +# Parseable Server (C) 2022 - 2024 Parseable, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/Dockerfile.debug b/Dockerfile.debug index 09cc7cd55..2bed98e79 100644 --- a/Dockerfile.debug +++ b/Dockerfile.debug @@ -1,4 +1,4 @@ -# Parseable Server (C) 2022 - 2023 Parseable, Inc. +# Parseable Server (C) 2022 - 2024 Parseable, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/server/build.rs b/server/build.rs index f1c1dc5b2..fa773d2c8 100644 --- a/server/build.rs +++ b/server/build.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/about.rs b/server/src/about.rs index 1dff12755..c18df7600 100644 --- a/server/src/about.rs +++ b/server/src/about.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/alerts/mod.rs b/server/src/alerts/mod.rs index 860c96e28..587bad773 100644 --- a/server/src/alerts/mod.rs +++ b/server/src/alerts/mod.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/alerts/parser.rs b/server/src/alerts/parser.rs index 0db450235..562c14b07 100644 --- a/server/src/alerts/parser.rs +++ b/server/src/alerts/parser.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/alerts/rule.rs b/server/src/alerts/rule.rs index 055481929..dc9c19964 100644 --- a/server/src/alerts/rule.rs +++ b/server/src/alerts/rule.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/alerts/target.rs b/server/src/alerts/target.rs index a3672d8df..f0ee1c54b 100644 --- a/server/src/alerts/target.rs +++ b/server/src/alerts/target.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/analytics.rs b/server/src/analytics.rs index e543b3845..ca8d172d6 100644 --- a/server/src/analytics.rs +++ b/server/src/analytics.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/banner.rs b/server/src/banner.rs index fce311cdc..0f1dc5120 100644 --- a/server/src/banner.rs +++ b/server/src/banner.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/catalog.rs b/server/src/catalog.rs index 1f26a6f95..f8adad1ca 100644 --- a/server/src/catalog.rs +++ b/server/src/catalog.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/catalog/column.rs b/server/src/catalog/column.rs index 59074b611..e689bd868 100644 --- a/server/src/catalog/column.rs +++ b/server/src/catalog/column.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/catalog/manifest.rs b/server/src/catalog/manifest.rs index 2f9f2e57f..bafed3dd5 100644 --- a/server/src/catalog/manifest.rs +++ b/server/src/catalog/manifest.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/catalog/snapshot.rs b/server/src/catalog/snapshot.rs index 537e4f857..982e111fd 100644 --- a/server/src/catalog/snapshot.rs +++ b/server/src/catalog/snapshot.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/event.rs b/server/src/event.rs index f913251c1..62db832bf 100644 --- a/server/src/event.rs +++ b/server/src/event.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/event/format.rs b/server/src/event/format.rs index 7a76ad7e4..55f8e106a 100644 --- a/server/src/event/format.rs +++ b/server/src/event/format.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/event/format/json.rs b/server/src/event/format/json.rs index a9922eb4b..edeb395b3 100644 --- a/server/src/event/format/json.rs +++ b/server/src/event/format/json.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/event/writer.rs b/server/src/event/writer.rs index c7aa8977d..2d1b46d4e 100644 --- a/server/src/event/writer.rs +++ b/server/src/event/writer.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/event/writer/file_writer.rs b/server/src/event/writer/file_writer.rs index a8c1d8918..9ff62c5c3 100644 --- a/server/src/event/writer/file_writer.rs +++ b/server/src/event/writer/file_writer.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/event/writer/mem_writer.rs b/server/src/event/writer/mem_writer.rs index 2716d48cd..1f5ce4532 100644 --- a/server/src/event/writer/mem_writer.rs +++ b/server/src/event/writer/mem_writer.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers.rs b/server/src/handlers.rs index c479fab85..81beea0bd 100644 --- a/server/src/handlers.rs +++ b/server/src/handlers.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -22,9 +22,9 @@ pub mod livetail; const PREFIX_TAGS: &str = "x-p-tag-"; const PREFIX_META: &str = "x-p-meta-"; const STREAM_NAME_HEADER_KEY: &str = "x-p-stream"; -const AUTHORIZATION_KEY: &str = "authorization"; -const KINESIS_COMMON_ATTRIBUTES_KEY: &str = "x-amz-firehose-common-attributes"; const LOG_SOURCE_KEY: &str = "x-p-log-source"; + +const AUTHORIZATION_KEY: &str = "authorization"; const SEPARATOR: char = '^'; const OIDC_SCOPE: &str = "openid profile email"; @@ -32,6 +32,12 @@ const COOKIE_AGE_DAYS: usize = 7; const SESSION_COOKIE_NAME: &str = "session"; const USER_COOKIE_NAME: &str = "username"; -// constants for Log Source values for known sources +// constants for log Source values for known sources and formats const LOG_SOURCE_KINESIS: &str = "kinesis"; + +// OpenTelemetry sends data in JSON format with +// specification as explained here https://opentelemetry.io/docs/specs/otel/logs/data-model/ const LOG_SOURCE_OTEL: &str = "otel"; + +// AWS Kinesis constants +const KINESIS_COMMON_ATTRIBUTES_KEY: &str = "x-amz-firehose-common-attributes"; diff --git a/server/src/handlers/http.rs b/server/src/handlers/http.rs index 9ee796a23..3fad5c2cc 100644 --- a/server/src/handlers/http.rs +++ b/server/src/handlers/http.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/about.rs b/server/src/handlers/http/about.rs index 2c8db6b9a..3f42ccc4f 100644 --- a/server/src/handlers/http/about.rs +++ b/server/src/handlers/http/about.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/health_check.rs b/server/src/handlers/http/health_check.rs index 88197d352..bb988b933 100644 --- a/server/src/handlers/http/health_check.rs +++ b/server/src/handlers/http/health_check.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/ingest.rs b/server/src/handlers/http/ingest.rs index be933fe18..429c3ffcd 100644 --- a/server/src/handlers/http/ingest.rs +++ b/server/src/handlers/http/ingest.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/kinesis.rs b/server/src/handlers/http/kinesis.rs index 111548328..3fb64f02f 100644 --- a/server/src/handlers/http/kinesis.rs +++ b/server/src/handlers/http/kinesis.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -37,6 +37,30 @@ struct Data { data: String, } +// Flatten Kinesis logs is used to flatten the Kinesis logs into a queryable JSON format. +// Kinesis logs are in the format +// { +// "requestId": "9b848d8a-2d89-474b-b073-04b8e5232210", +// "timestamp": 1705026780451, +// "records": [ +// { +// "data": "eyJDSEFOR0UiOi0wLjQ1LCJQUklDRSI6NS4zNiwiVElDS0VSX1NZTUJPTCI6IkRFRyIsIlNFQ1RPUiI6IkVORVJHWSJ9" +// } +// ] +// } +// The data field is base64 encoded JSON (there can be multiple data fields), and there is a requestId and timestamp field. +// Kinesis logs are flattened to the following format: +// { +// "CHANGE": 3.16, +// "PRICE": 73.76, +// "SECTOR": "RETAIL", +// "TICKER_SYMBOL": "WMT", +// "p_metadata": "", +// "p_tags": "", +// "p_timestamp": "2024-01-11T09:08:34.290", +// "requestId": "b858288a-f5d8-4181-a746-3f3dd716be8a", +// "timestamp": "1704964113659" +// } pub fn flatten_kinesis_logs(body: &Bytes) -> Vec> { let body_str = std::str::from_utf8(body).unwrap(); let message: Message = serde_json::from_str(body_str).unwrap(); diff --git a/server/src/handlers/http/llm.rs b/server/src/handlers/http/llm.rs index d507542a0..87f027d2d 100644 --- a/server/src/handlers/http/llm.rs +++ b/server/src/handlers/http/llm.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/logstream.rs b/server/src/handlers/http/logstream.rs index 7fdfe61c3..ebcd41189 100644 --- a/server/src/handlers/http/logstream.rs +++ b/server/src/handlers/http/logstream.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/middleware.rs b/server/src/handlers/http/middleware.rs index 8cc5330ba..8c078ae65 100644 --- a/server/src/handlers/http/middleware.rs +++ b/server/src/handlers/http/middleware.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/oidc.rs b/server/src/handlers/http/oidc.rs index a2d277cca..92c711c58 100644 --- a/server/src/handlers/http/oidc.rs +++ b/server/src/handlers/http/oidc.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/query.rs b/server/src/handlers/http/query.rs index 90609b844..af5120c49 100644 --- a/server/src/handlers/http/query.rs +++ b/server/src/handlers/http/query.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/rbac.rs b/server/src/handlers/http/rbac.rs index 09fc94fe7..71f66918f 100644 --- a/server/src/handlers/http/rbac.rs +++ b/server/src/handlers/http/rbac.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/http/role.rs b/server/src/handlers/http/role.rs index 670635707..56759fec5 100644 --- a/server/src/handlers/http/role.rs +++ b/server/src/handlers/http/role.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/handlers/livetail.rs b/server/src/handlers/livetail.rs index 716a7ed7f..5be8e9f33 100644 --- a/server/src/handlers/livetail.rs +++ b/server/src/handlers/livetail.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/livetail.rs b/server/src/livetail.rs index aa2b1f153..eca90eceb 100644 --- a/server/src/livetail.rs +++ b/server/src/livetail.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/localcache.rs b/server/src/localcache.rs index 196449c68..0869259ae 100644 --- a/server/src/localcache.rs +++ b/server/src/localcache.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/main.rs b/server/src/main.rs index d61568c1f..de98cff83 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/metadata.rs b/server/src/metadata.rs index e7fb32614..b57cc710a 100644 --- a/server/src/metadata.rs +++ b/server/src/metadata.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/metrics/mod.rs b/server/src/metrics/mod.rs index 78a05e5a3..05e6baf86 100644 --- a/server/src/metrics/mod.rs +++ b/server/src/metrics/mod.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/metrics/storage.rs b/server/src/metrics/storage.rs index 7a35d8b46..abb06aa94 100644 --- a/server/src/metrics/storage.rs +++ b/server/src/metrics/storage.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/migration.rs b/server/src/migration.rs index ff3cbb61a..899d86eae 100644 --- a/server/src/migration.rs +++ b/server/src/migration.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/migration/metadata_migration.rs b/server/src/migration/metadata_migration.rs index 62368d926..36507a28f 100644 --- a/server/src/migration/metadata_migration.rs +++ b/server/src/migration/metadata_migration.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/migration/schema_migration.rs b/server/src/migration/schema_migration.rs index 632d8b10b..5abacfdf1 100644 --- a/server/src/migration/schema_migration.rs +++ b/server/src/migration/schema_migration.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/migration/stream_metadata_migration.rs b/server/src/migration/stream_metadata_migration.rs index 4da6c96f0..dc0a12440 100644 --- a/server/src/migration/stream_metadata_migration.rs +++ b/server/src/migration/stream_metadata_migration.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/oidc.rs b/server/src/oidc.rs index 6f58286fb..1650fd929 100644 --- a/server/src/oidc.rs +++ b/server/src/oidc.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/option.rs b/server/src/option.rs index 68fea5db2..1104f9674 100644 --- a/server/src/option.rs +++ b/server/src/option.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/query.rs b/server/src/query.rs index 3e17e3c73..e3f9d8dbc 100644 --- a/server/src/query.rs +++ b/server/src/query.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/query/filter_optimizer.rs b/server/src/query/filter_optimizer.rs index f13858b00..7a826537a 100644 --- a/server/src/query/filter_optimizer.rs +++ b/server/src/query/filter_optimizer.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/query/listing_table_builder.rs b/server/src/query/listing_table_builder.rs index 94c8d5e8c..59bf05a3a 100644 --- a/server/src/query/listing_table_builder.rs +++ b/server/src/query/listing_table_builder.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/query/stream_schema_provider.rs b/server/src/query/stream_schema_provider.rs index 48128f8e0..874afca78 100644 --- a/server/src/query/stream_schema_provider.rs +++ b/server/src/query/stream_schema_provider.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/rbac.rs b/server/src/rbac.rs index 34c6fab62..bfd1be817 100644 --- a/server/src/rbac.rs +++ b/server/src/rbac.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/rbac/map.rs b/server/src/rbac/map.rs index d76c64b59..6a82b9f9d 100644 --- a/server/src/rbac/map.rs +++ b/server/src/rbac/map.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/rbac/role.rs b/server/src/rbac/role.rs index 5251bec65..43b5160cf 100644 --- a/server/src/rbac/role.rs +++ b/server/src/rbac/role.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/rbac/user.rs b/server/src/rbac/user.rs index 0dc188b1d..6780c0fe9 100644 --- a/server/src/rbac/user.rs +++ b/server/src/rbac/user.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/response.rs b/server/src/response.rs index 1d0981bb0..18b86d78f 100644 --- a/server/src/response.rs +++ b/server/src/response.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/stats.rs b/server/src/stats.rs index c3588e931..5b92bfd85 100644 --- a/server/src/stats.rs +++ b/server/src/stats.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage.rs b/server/src/storage.rs index 306c95e33..975fcf445 100644 --- a/server/src/storage.rs +++ b/server/src/storage.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage/localfs.rs b/server/src/storage/localfs.rs index 5ec98bfcc..e1dc31ee5 100644 --- a/server/src/storage/localfs.rs +++ b/server/src/storage/localfs.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage/object_storage.rs b/server/src/storage/object_storage.rs index e6f713715..be4b1c1c6 100644 --- a/server/src/storage/object_storage.rs +++ b/server/src/storage/object_storage.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage/retention.rs b/server/src/storage/retention.rs index 26a60b2b4..c395c7d84 100644 --- a/server/src/storage/retention.rs +++ b/server/src/storage/retention.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage/s3.rs b/server/src/storage/s3.rs index 55a9efb8d..af171bfae 100644 --- a/server/src/storage/s3.rs +++ b/server/src/storage/s3.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage/staging.rs b/server/src/storage/staging.rs index 80af0d47f..6ee908079 100644 --- a/server/src/storage/staging.rs +++ b/server/src/storage/staging.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/storage/store_metadata.rs b/server/src/storage/store_metadata.rs index 2c80ba835..b0ef21d6d 100644 --- a/server/src/storage/store_metadata.rs +++ b/server/src/storage/store_metadata.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils.rs b/server/src/utils.rs index 350781302..58f0c3eee 100644 --- a/server/src/utils.rs +++ b/server/src/utils.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/actix.rs b/server/src/utils/actix.rs index 71b070db7..86c4cdd63 100644 --- a/server/src/utils/actix.rs +++ b/server/src/utils/actix.rs @@ -1,5 +1,5 @@ /* -* Parseable Server (C) 2022 - 2023 Parseable, Inc. +* Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/arrow.rs b/server/src/utils/arrow.rs index 4d1a03ccf..0abde015e 100644 --- a/server/src/utils/arrow.rs +++ b/server/src/utils/arrow.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/arrow/batch_adapter.rs b/server/src/utils/arrow/batch_adapter.rs index c9a58c74f..1c85969c9 100644 --- a/server/src/utils/arrow/batch_adapter.rs +++ b/server/src/utils/arrow/batch_adapter.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/arrow/merged_reader.rs b/server/src/utils/arrow/merged_reader.rs index a1f0d090c..8a31ae200 100644 --- a/server/src/utils/arrow/merged_reader.rs +++ b/server/src/utils/arrow/merged_reader.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/arrow/reverse_reader.rs b/server/src/utils/arrow/reverse_reader.rs index 1e866f79f..c9bd13f63 100644 --- a/server/src/utils/arrow/reverse_reader.rs +++ b/server/src/utils/arrow/reverse_reader.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/header_parsing.rs b/server/src/utils/header_parsing.rs index 0708804bf..8d4feab1e 100644 --- a/server/src/utils/header_parsing.rs +++ b/server/src/utils/header_parsing.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/json.rs b/server/src/utils/json.rs index 75e2b5161..0f18d4bf7 100644 --- a/server/src/utils/json.rs +++ b/server/src/utils/json.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/json/flatten.rs b/server/src/utils/json/flatten.rs index 08c42b043..4b7a21556 100644 --- a/server/src/utils/json/flatten.rs +++ b/server/src/utils/json/flatten.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/uid.rs b/server/src/utils/uid.rs index 8a895d3bf..37f44a6e1 100644 --- a/server/src/utils/uid.rs +++ b/server/src/utils/uid.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/utils/update.rs b/server/src/utils/update.rs index c33879a55..e063a1b82 100644 --- a/server/src/utils/update.rs +++ b/server/src/utils/update.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/server/src/validator.rs b/server/src/validator.rs index d6a150ba0..6281354d8 100644 --- a/server/src/validator.rs +++ b/server/src/validator.rs @@ -1,5 +1,5 @@ /* - * Parseable Server (C) 2022 - 2023 Parseable, Inc. + * Parseable Server (C) 2022 - 2024 Parseable, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as