# LynxDB documentation

Source: [https://docs.lynxdb.org/](https://docs.lynxdb.org/)

Query log files and standard input with OpenSearch PPL, or run a server to ingest and search logs from your services.

- [Quick start](https://docs.lynxdb.org/docs/getting-started/quickstart/)
- [Install LynxDB](https://docs.lynxdb.org/docs/getting-started/install/)

## Count HTTP 5xx responses by service

```bash
lynxdb query --file access.ndjson \
  --format csv --no-stats '
  source=main
  | where status >= 500
  | stats count() as errors by service'
```

```csv
errors,service
2,api
```

## Guides

- [Getting started](https://docs.lynxdb.org/docs/getting-started/quickstart/): Install LynxDB and run your first query on a local file or a server.
- [PPL guide](https://docs.lynxdb.org/docs/ppl/overview/): Search events, extract fields, and look up PPL commands and functions.
- [Ingest data](https://docs.lynxdb.org/docs/guides/ingest-data/): Send logs over HTTP, OpenTelemetry, Splunk HEC, or syslog.
- [Deploy and operate](https://docs.lynxdb.org/docs/deployment/single-node/): Configure storage, retention, authentication, and backups.

## Reference

- [CLI reference](https://docs.lynxdb.org/docs/cli/overview/)
- [REST API](https://docs.lynxdb.org/docs/api/overview/)
- [Architecture](https://docs.lynxdb.org/docs/architecture/overview/)
