https://github.com/just5ky/scalyr-tool
Scalyr CLI tool
https://github.com/just5ky/scalyr-tool
api cli dataset logging scalyr
Last synced: over 1 year ago
JSON representation
Scalyr CLI tool
- Host: GitHub
- URL: https://github.com/just5ky/scalyr-tool
- Owner: just5ky
- Created: 2022-03-25T04:23:02.000Z (over 4 years ago)
- Default Branch: latest
- Last Pushed: 2025-02-27T10:11:20.000Z (over 1 year ago)
- Last Synced: 2025-03-06T01:15:33.446Z (over 1 year ago)
- Topics: api, cli, dataset, logging, scalyr
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/justsky/scalyr-tool
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[scalyr-tool](https://github.com/scalyr/scalyr-tool)
============
  
### Multi-arch support
- amd64
- arm/v6
- arm/v7
- arm64/v8
Command-line tool for accessing Scalyr services. The following commands are currently supported:
- [**query**](https://github.com/scalyr/scalyr-tool#querying-logs): Retrieve log data
- [**power-query**](https://github.com/scalyr/scalyr-tool#power-queries): Execute PowerQuery
- [**numeric-query**](https://github.com/scalyr/scalyr-tool#fetching-numeric-data): Retrieve numeric / graph data
- [**facet-query**](https://github.com/scalyr/scalyr-tool#fetching-facet-counts): Retrieve common values for a field
- [**timeseries-query**](https://github.com/scalyr/scalyr-tool#fetching-numeric-data-using-a-timeseries): Retrieve numeric / graph data from a timeseries
- [**get-file**](https://github.com/scalyr/scalyr-tool#retrieving-configuration-files): Fetch a configuration file
- [**put-file**](https://github.com/scalyr/scalyr-tool#creating-or-updating-configuration-files): Create or update a configuration file
- [**delete-file**](https://github.com/scalyr/scalyr-tool#creating-or-updating-configuration-files): Delete a configuration file
- [**list-files**](https://github.com/scalyr/scalyr-tool#listing-configuration-files): List all configuration files
- [**tail**](https://github.com/scalyr/scalyr-tool#tailing-logs): Provide a live 'tail' of a log
Image build
===========
`docker buildx build --push --platform linux/arm/v6,linux/arm/v7,linux/arm64/v8 --tag justsky/scalyr-tool .`
Docker Run
===========
Using Dockerhub
`docker run -h scalyr -i justsky/scalyr-tool --token `
Using Github
`docker run -h scalyr -i ghcr.io/just5ky/scalyr-tool:main --token `