https://github.com/artemklevtsov/redpanda-connect
Redpanda Connect Yandex Metrika API connectors
https://github.com/artemklevtsov/redpanda-connect
Last synced: 3 months ago
JSON representation
Redpanda Connect Yandex Metrika API connectors
- Host: GitHub
- URL: https://github.com/artemklevtsov/redpanda-connect
- Owner: artemklevtsov
- License: apache-2.0
- Created: 2025-02-18T15:47:24.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T10:06:42.000Z (3 months ago)
- Last Synced: 2025-03-01T11:19:43.788Z (3 months ago)
- Language: Go
- Size: 444 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redpanda Connect
Redpanda connect with some extensions.
## Install
Build and Install binary:
```sh
go install github.com/artemklevtsov/redpanda-connect@latest
```Or download binary with:
```sh
curl -s https://i.jpillora.com/artemklevtsov/redpanda-connect@latest! | bash
```Remove `!` if you want to install to the current directory.
Alternatively pull a Docker image with:
```sh
docker pull ghcr.io/artemklevtsov/redpanda-connect@latest
```## Run
```yaml
input:
yandex_metrika_stat_table:
ids:
- 44147844
metrics:
- ym:s:users
- ym:s:visits
dimensions:
- ym:s:date
- ym:s:lastTrafficSource
sort:
- ym:s:date
- ym:s:lastTrafficSource
date1: 2025-02-01
date2: 2025-02-28
# filters: ym:s:lastTrafficSource=='direct'
# filters: ym:s:date=='2025-02-03'output:
stdout: {}
```And you can run it like this:
```sh
redpanda-connect run ./connect.yaml
```See also `configs/` for the more examples.
## See also
### Documentation
- [plugin docs](docs/modules/components/pages/)
- [redpanda connect docs](https://docs.redpanda.com/redpanda-connect/)### Authorization
- [debug token](https://yandex.ru/dev/id/doc/en/tokens/debug-token)
### Reporting API
- [dimensions and metrics](https://yandex.ru/dev/metrika/en/stat/attrandmetr/dim_all)
### Logs API
- [hits](https://yandex.ru/dev/metrika/en/logs/fields/hits)
- [visits](https://yandex.ru/dev/metrika/en/logs/fields/visits)
- [parametrization](https://yandex.ru/dev/metrika/en/logs/param)