Skip to content

Commit

Permalink
Update docs and prepare for release v0.1.0 (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitisht authored Jan 10, 2023
1 parent 1787010 commit c285b1c
Show file tree
Hide file tree
Showing 17 changed files with 150 additions and 133 deletions.
142 changes: 78 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,73 @@
<p align="center">
<span">
<img src="https://raw.githubusercontent.com/parseablehq/.github/main/images/logo.svg#gh-light-mode-only" alt="Parseable" width="400" height="80" />
<img src="https://raw.githubusercontent.com/parseablehq/.github/main/images/logo-dark.png#gh-dark-mode-only" alt="Parseable" width="400" height="80" />
</a>
</p>
<h2 align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/parseablehq/.github/main/images/logo-dark.png">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/parseablehq/.github/main/images/logo.svg">
<img alt="Parseable Logo" src="https://raw.githubusercontent.com/parseablehq/.github/main/images/logo.svg">
</picture>
<br>
Cloud native log observability
</h2>

<h4 align="center">
<p> Cloud native log observability </p>
<img src="https://raw.githubusercontent.com/parseablehq/.github/main/images/console.png" />
<a href="https://www.parseable.io/docs/quick-start" target="_blank">Quick Start</a> |
<a href="https://www.parseable.io/docs/introduction" target="_blank">Documentation</a> |
<a href="https://launchpass.com/parseable" target="_blank">Community</a> |
<a href="https://demo.parseable.io" target="_blank">Live Demo</a>
</h4>
<div align="center">

## :wave: Introduction
[![Docker Pulls](https://img.shields.io/docker/pulls/parseable/parseable?logo=docker&label=Docker%20Pulls)](https://hub.docker.com/r/parseable/parseable)
[![Twitter](https://img.shields.io/twitter/follow/parseableio?logo=twitter&style=flat&color=%234B78E6&logoColor=%234B78E6)](https://twitter.com/parseableio)
[![Slack](https://img.shields.io/badge/slack-brightgreen.svg?logo=slack&label=Community)](https://launchpass.com/parseable)
[![Docs](https://img.shields.io/badge/stable%20docs-parseable.io%2Fdocs-brightgreen?style=flat&color=%2373DC8C&label=Docs)](https://www.parseable.io/docs)
[![Build](https://img.shields.io/github/actions/workflow/status/parseablehq/parseable/build.yaml?branch=main&label=Build)](https://github.com/parseablehq/parseable/actions)

Parseable is a open source log observability platform. Written in Rust, it is designed for simplicity of deployment and use. It is compatible with standard logging agents via their HTTP output. Parseable also offers a builtin GUI for log query and analysis.
</div>

We're focussed on
Parseable is a lightweight, cloud native log observability engine. It can use either a local drive or S3 (and compatible stores) for backend data storage.

* Simplicity - ease of deployment and use.
* Efficiency - lesser CPU, Memory usage.
* Extensibility - freedom to do more with event data.
* Performance - lower latency, higher throughput.
Parseable is written in Rust and uses Apache Arrow and Parquet as underlying data structures. Additionally, it uses a simple, index-free mechanism to organize and query data allowing low latency, and high throughput ingestion and query.

## :dart: Motivation

Given the analytical nature of log data, columnar formats like Parquet are the best way to store and analyze. Parquet offers compression and inherent analytical capabilities. However, indexing based text search engines are _still_ prevalent. We are building Parseable to take full advantage of advanced data formats like Apache Parquet and Arrow. This approach is simpler, efficient and much more scalable.

Parseable is developer friendly, cloud native, logging platforms today that is simple to deploy and run - while offering a rich set of features.
Parseable consumes up to **_~80% lower memory_** and **_~50% lower CPU_** than Elastic for similar ingestion throughput.

## :question: How it works
## :rocket: Features

Parseable exposes REST API to ingest and query log data. Under the hood, it uses Apache Arrow and Parquet to handle and compress high volume log data. All data is stored in S3 (or compatible systems). Parseable also has a bundled web console to visualize and query log data.
- Choose your own storage backend - local drive or S3 (or compatible) object store.
- Ingestion API compatible with HTTP + JSON output of log agents - [Fluentbit ↗︎](https://fluentbit.io/), [Vector ↗︎](http://vector.dev/), [Logstash ↗︎](https://www.elastic.co/logstash/) and others.
- Query log data with PostgreSQL compatible SQL.
- [Grafana ↗︎](https://github.com/parseablehq/parseable-datasource) for visualization.
- Auto schema inference (schema evolution [coming soon ↗︎](https://github.com/parseablehq/parseable/issues/195)).
- [Send alerts ↗︎](https://www.parseable.io/docs/api/alerts) to webhook targets including Slack.
- [Stats API ↗︎](https://www.postman.com/parseable/workspace/parseable/request/22353706-b32abe55-f0c4-4ed2-9add-110d265888c3) to track ingestion and compressed data.
- Single binary includes all components - ingestion, store and query. Built-in UI.

- Written in Rust. Low CPU & memory footprint, with low latency, high throughput.
- Open data format (Parquet). Complete ownership of data. Wide range of possibilities for data analysis.
- Single binary / container based deployment (including UI). Deploy in minutes if not seconds.
- Indexing free design. Lower CPU and storage overhead. Similar levels of performance as indexing based systems.
- Kubernetes and Cloud native design, build ground up for cloud native environments.
## :white_check_mark: Getting Started

## :white_check_mark: Installing

Run the below command to deploy Parseable in demo mode with Docker.
Run the below command to deploy Parseable in local storage mode with Docker.

```sh
mkdir -p /tmp/data
docker run \
-p 8000:8000 \
-v /tmp/data:/data \
mkdir -p /tmp/parseable/data
mkdir -p /tmp/parseable/staging

docker run -p 8000:8000 \
-v /tmp/parseable/data:/parseable/data \
-v /tmp/parseable/staging:/parseable/staging \
-e P_FS_DIR=/parseable/data \
-e P_STAGING_DIR=/parseable/staging \
parseable/parseable:latest \
parseable server --demo
parseable local-store
```

Once this runs successfully, you'll see dashboard at [http://localhost:8000](http://localhost:8000). You can login to the dashboard with `parseable`, `parseable` as the credentials. Please make sure not to post any important data while in demo mode.

Prefer other platforms? Check out installation options (Kubernetes, bare-metal), in the [documentation](https://www.parseable.io/docs/category/installation).

#### Live demo
Once this runs successfully, you'll see dashboard at [http://localhost:8000](http://localhost:8000). You can login to the dashboard default credentials `admin`, `admin`.

Instead of installing locally, you can also try out Parseable on our [Demo instance](https://demo.parseable.io). Credentials to login to the dashboard are `parseable` / `parseable`.

## :100: Usage

If you've already deployed Parseable using the above Docker command, use below commands to create stream and post event(s) to the stream. Make sure to replace `<stream-name>` with the name of the stream you want to create and post events (e.g. `my-stream`).
#### Create a stream
### Create a stream

```sh
curl --location --request PUT 'http://localhost:8000/api/v1/logstream/<stream-name>' \
--header 'Authorization: Basic cGFyc2VhYmxlOnBhcnNlYWJsZQ=='
curl --location --request PUT 'http://localhost:8000/api/v1/logstream/demo' \
--header 'Authorization: Basic YWRtaW46YWRtaW4='
```

#### Send events to the stream
### Send events to the stream

```sh
curl --location --request POST 'http://localhost:8000/api/v1/logstream/<stream-name>' \
curl --location --request POST 'http://localhost:8000/api/v1/logstream/demo' \
--header 'X-P-META-meta1: value1' \
--header 'X-P-TAG-tag1: value1' \
--header 'Authorization: Basic cGFyc2VhYmxlOnBhcnNlYWJsZQ==' \
--header 'Authorization: Basic YWRtaW46YWRtaW4=' \
--header 'Content-Type: application/json' \
--data-raw '[
{
Expand All @@ -93,19 +82,44 @@ curl --location --request POST 'http://localhost:8000/api/v1/logstream/<stream-n
]'
```

- For complete Parseable API documentation, refer to [Parseable API Docs](https://www.parseable.io/docs/category/api).
- To configure Parseable with popular logging agents, please refer to the [agent documentation](https://www.parseable.io/docs/category/log-agents).
- To integrate Parseable with your applications directly, please refer to the [integration documentation](https://www.parseable.io/docs/category/application-integration).
### Query the stream

## :stethoscope: Support
You can see the events in Parseable UI, or use the below curl command to see the query response on CLI.

For questions and feedback please feel free to reach out to us on [Slack](https://launchpass.com/parseable). For bugs, please create issue on [GitHub](https://github.com/parseablehq/parseable/issues).
NOTE: Please change the `startTime` and `endTime` to the time range corresponding to the event you sent in the previous step.

```sh
curl --location --request POST 'http://localhost:8000/api/v1/query' \
--header 'Authorization: Basic YWRtaW46YWRtaW4=' \
--header 'Content-Type: application/json' \
--data-raw '{
"query":"select * from demo",
"startTime":"2023-01-09T00:00:00+00:00",
"endTime":"2023-01-09T23:59:00+00:00"
}'
```

## :books: Documentation

- [Roadmap ↗︎](https://github.com/orgs/parseablehq/projects/4)
- [Complete documentation ↗︎](https://www.parseable.io/docs/category/installation)
- [FAQ ↗︎](https://www.parseable.io/docs/faq)

## :dart: Motivation

Traditionally, logging has been seen as a text search problem. Log volumes were not high, and data ingestion or storage were not really issues. This led us to today, where all the logging platforms are primarily text search engines.

But with log data growing exponentially, today's log data challenges involve whole lot more – Data ingestion, storage, and observation, all at scale. We are building Parseable to address these challenges.

## :stethoscope: Support

For commercial support and consultation, please reach out to us at [`[email protected]`](mailto:[email protected]).
- For questions and feedback please feel free to reach out to us on [Slack ↗︎](https://launchpass.com/parseable).
- For bugs, please create issue on [GitHub ↗︎](https://github.com/parseablehq/parseable/issues).
- For commercial support and consultation, please reach out to us at [`[email protected]` ↗︎](mailto:[email protected]).

## :trophy: Contributing

Refer to the contributing guide [here](https://www.parseable.io/docs/contributing).
Refer to the contributing guide [here ↗︎](https://www.parseable.io/docs/contributing).

#### Contributors

Expand Down
47 changes: 0 additions & 47 deletions deploy/linux-systemd/README.md

This file was deleted.

Binary file modified helm-releases/collector-0.0.1.tgz
Binary file not shown.
Binary file added helm-releases/parseable-0.1.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions helm/parseable/Chart.yaml → helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: parseable
description: Helm chart for Parseable Server
type: application
version: 0.0.8
AppVersion: "v0.0.8"
version: 0.1.0
AppVersion: "v0.1.0"
3 changes: 3 additions & 0 deletions helm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Parseable Helm Chart

Refer the Parseable Helm Chart [documentation ↗︎](https://www.parseable.io/docs/deployment/kubernetes)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ spec:
imagePullPolicy: {{ .Values.parseable.image.pullPolicy }}
# Uncomment to debug
# command: [ "/bin/sh", "-c", "sleep 1000000" ]
{{- if .Values.parseable.demo }}
args: ["parseable", "server", "--demo"]
{{- if .Values.parseable.local }}
args: ["parseable", "local-store"]
{{- else }}
args: ["parseable", "server"]
args: ["parseable", "s3-store"]
{{- end }}
env:
{{- range $key, $value := .Values.parseable.env }}
Expand Down
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions helm/parseable/values.yaml → helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
parseable:
image:
repository: parseable/parseable
tag: v0.0.8
tag: v0.1.0
pullPolicy: Always
demo: false
local: false
secrets:
- type: env
name: parseable-env-secret
Expand All @@ -14,14 +14,15 @@ parseable:
# - tls.key.path
# - storage.upload.interval
- addr
- username
- password
- staging.dir
- s3.url
- s3.access.key
- s3.secret.key
- s3.bucket
- s3.region
- local.storage
- username
- password
- fs.dir
replicaCount: 1
env:
RUST_LOG: "parseable=info"
Expand Down
28 changes: 19 additions & 9 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,28 @@ entries:
collector:
- apiVersion: v2
appVersion: 4769fbf
created: "2022-12-13T14:27:14.386887+05:30"
created: "2023-01-05T19:46:15.999688+05:30"
description: Helm chart for Parseable Collector
digest: ab31cdecafecbafd4f6788cbfc1e83b76c7395654cd0efc87a5a874a8cb11cfc
digest: 297c0b6ec05e8868c99639ad5d80e974af20a376af2f984e661d5dc98d9f03e1
name: collector
type: application
urls:
- https://charts.parseable.io/helm-releases/collector-0.0.1.tgz
version: 0.0.1
parseable:
- apiVersion: v2
appVersion: v0.1.0
created: "2023-01-05T19:46:16.007425+05:30"
description: Helm chart for Parseable Server
digest: 1ca2985befbc2500a7faeae8702238ad9afe05b00368f5c5b7cfbdea3d6f3a7b
name: parseable
type: application
urls:
- https://charts.parseable.io/helm-releases/parseable-0.1.0.tgz
version: 0.1.0
- apiVersion: v2
appVersion: v0.0.8
created: "2022-12-13T14:27:14.393538+05:30"
created: "2023-01-05T19:46:16.006931+05:30"
description: Helm chart for Parseable Server
digest: c805254ffa634f96ecec448bcfff9973339aa9487dd8199b21b17b79a4de9345
name: parseable
Expand All @@ -24,7 +34,7 @@ entries:
version: 0.0.8
- apiVersion: v2
appVersion: v0.0.7
created: "2022-12-13T14:27:14.392796+05:30"
created: "2023-01-05T19:46:16.005811+05:30"
description: Helm chart for Parseable Server
digest: c591f617ed1fe820bb2c72a4c976a78126f1d1095d552daa07c4700f46c4708a
name: parseable
Expand All @@ -34,7 +44,7 @@ entries:
version: 0.0.7
- apiVersion: v2
appVersion: v0.0.6
created: "2022-12-13T14:27:14.391679+05:30"
created: "2023-01-05T19:46:16.004658+05:30"
description: Helm chart for Parseable Server
digest: f9ae56a6fcd6a59e7bee0436200ddbedeb74ade6073deb435b8fcbaf08dda795
name: parseable
Expand All @@ -44,7 +54,7 @@ entries:
version: 0.0.6
- apiVersion: v2
appVersion: v0.0.5
created: "2022-12-13T14:27:14.390665+05:30"
created: "2023-01-05T19:46:16.003581+05:30"
description: Helm chart for Parseable Server
digest: 4d6b08a064fba36e16feeb820b77e1e8e60fb6de48dbf7ec8410d03d10c26ad0
name: parseable
Expand All @@ -54,7 +64,7 @@ entries:
version: 0.0.5
- apiVersion: v2
appVersion: v0.0.2
created: "2022-12-13T14:27:14.389309+05:30"
created: "2023-01-05T19:46:16.002418+05:30"
description: Helm chart for Parseable Server
digest: 38a0a3e4c498afbbcc76ebfcb9cb598fa2ca843a53cc93b3cb4f135b85c10844
name: parseable
Expand All @@ -64,12 +74,12 @@ entries:
version: 0.0.2
- apiVersion: v2
appVersion: v0.0.1
created: "2022-12-13T14:27:14.388158+05:30"
created: "2023-01-05T19:46:16.001072+05:30"
description: Helm chart for Parseable Server
digest: 1f1142db092b9620ee38bb2294ccbb1c17f807b33bf56da43816af7fe89f301e
name: parseable
type: application
urls:
- https://charts.parseable.io/helm-releases/parseable-0.0.1.tgz
version: 0.0.1
generated: "2022-12-13T14:27:14.385392+05:30"
generated: "2023-01-05T19:46:15.998828+05:30"
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parseable"
version = "0.0.8"
version = "0.1.0"
authors = ["Parseable Team <[email protected]>"]
edition = "2021"
categories = ["olap", "logging", "analytics-store"]
Expand Down
2 changes: 1 addition & 1 deletion server/src/banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub mod about {
eprintln!(
"
Commit: \"{}\"
Docs: \"https://www.parseable.io/docs/introduction\"",
Docs: \"https://www.parseable.io/docs\"",
commit_hash
);
}
Expand Down
3 changes: 3 additions & 0 deletions systemd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Linux Systemd Service

Refer the Systemd setup [documentation ↗︎](https://www.parseable.io/docs/installation/systemd)
Loading

0 comments on commit c285b1c

Please sign in to comment.