Skip to content

logcli

Command-line interface for loki

It facilitates running LogQL queries against a Loki instance.

devops

https://github.com/grafana/loki

armhf amd64 arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install logcli

sudo apt install logcli

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    logcli=2.9.5*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      logcli=2.9.5*

Download URLs

Version SHA256 Size (KB)
2.9.5 01e91a4351557f286dc870d86090f3fe31f186fc2e13c6cf290b64d235e91eb2 12658
2.9.4 febf5afb6ca5559ce52ac2ec9475a3cbcde333aa8f5337251232cdaad54a3941 12644
2.9.3 2e3cc0f516c4e858a864a271145972d728a69469254f2aba4dd0d46db903fbe8 12638
2.9.2 568b9fae64d68d29135c15d5707a1c94737ebe7a459fcf2abb02a821716638cf 12642
2.9.1 79109884e369d196c213242452cb016acee8419c78a61a3b19be8220ddd5d8ad 12740
2.9.0 beebe43f0e1d345f6bbef6c5c8a14cc046b07308fe4d0ef49f8c14d1acc0b117 12741
2.8.4 0d7e008fb8a02a541ce2df5552c70ad748c8e78c55bf68094be43138b80cf204 11701
2.8.3 fa7a3d215690b1c0e3576a729944a24b977418bab6530ea1ee08da2e739f31a8 11701
2.8.2 f30733ad5e4ebe1c1fc9f38452163865f3341f2c0c571ec1d9d399903e9a63ae 11702
2.8.1 1a37d572f03beb24b7e34938be2022949ac516371f97a1e3dedb525c873d67ed 11645
Version SHA256 Size (KB)
2.9.5 0a9b0ac6fe95f8d36d5f5cfe8521b9d1d783fa7f087e7e51ed52e7a49370446e 10826
2.9.4 227aa7e7a546f285e5d380d9dfc53bb9b537b68cbb232e0f6abb15eb0600ca7e 10811
2.9.3 c99963fc01cca1202c566e0112ff40b2402bfe8aa2e8e17343d9110e41e38e4c 10815
2.9.2 7ee1e05dae048748d3c7680473062635b4f9c4d8cd232cf43a460d5a9022fb3a 10815
2.9.1 fe434d21231bd7f39569c5e05beb90134a65518fbcacd53bd047cccd19054e7c 10863
2.9.0 c844af30d1fd9501750bae6ada2fa803aeb7a7db1268947b866eda00188eec82 10862
2.8.4 b5c2f39305b7db83ac739f3b6b343b405d8c0d99f694224e4b0bc52f23b110f7 9989
2.8.3 aca5c23ecd67b04c2ae605487eda550bfa9bf888c21c904ae908a0e1ba909fa5 9995
2.8.2 039078a633eea7e06b81f7dd308932726a2fbef8395eacb7d2e6ce90431446e3 9992
2.8.1 68c43a155db4a8dfac5d665ce8f8425f567fb945df7e39a3c79a03e69b259530 9934
Version SHA256 Size (KB)
2.9.5 8f20372765dab24eeb5a9db166d2d9fb482a159b5b96404d771164cae8325b29 11012
2.9.4 2fa0141e16f7a760f62e6bc0a4d4cf4b9200b42c381b3c2c76ae70402c304299 10995
2.9.3 6cdce8d7c3931a3b04b8ccd3e3fafde995fda0242dfe4f5c9d5c10bf40f9c896 10998
2.9.2 d1976d89b9f801203ae307315bd6e7580fbd023edc33c869a82483145c725aa6 10993
2.9.1 126ec35cd937c48b8a9a21f879c0523df376950f615784c83ecf7d6c94acc120 11157
2.9.0 037514713011e4219b0262a395d98a4cb199ec3af778e7811710804510abb20c 11160
2.8.4 f3a4056addd31d234e4feef2c6f44d0e941b36fb2ca4b76bd08122f592664249 10225
2.8.3 6dd75a4bed16b2ca1193305593bd2c4457092e893792638ae804706e60f82a13 10223
2.8.2 dbe183ef257ec573844cca44851c99538431b55be94831d62aade0bb5544b4f2 10219
2.8.1 42e9ec750f24672e937ff961d5b99ad07a5b5179d7076af2c824454139e4562b 10176

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for logcli are versioned here.

Click here to see logcli ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/logcli/ops2deb.yml
name: logcli
matrix:
  architectures:
    - amd64
    - arm64
    - armhf
  versions:
    - 2.3.0
    - 2.4.2
    - 2.5.0
    - 2.6.0
    - 2.6.1
    - 2.7.0
    - 2.7.1
    - 2.7.2
    - 2.7.3
    - 2.7.4
    - 2.7.5
    - 2.8.0
    - 2.8.1
    - 2.8.2
    - 2.8.3
    - 2.8.4
    - 2.9.0
    - 2.9.1
    - 2.9.2
    - 2.9.3
    - 2.9.4
    - 2.9.5
homepage: https://github.com/grafana/loki
summary: command-line interface for loki
description: It facilitates running LogQL queries against a Loki instance.
fetch: https://github.com/grafana/loki/releases/download/v{{version}}/logcli-linux-{{goarch}}.zip
install:
  - logcli-linux-{{goarch}}:/usr/bin/logcli

The blueprint fetch keyword contains a URL template pointing to logcli releases. Downloaded files are locked in a lockfile versioned here.

Click here to see logcli release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/logcli/ops2deb.lock.yml
- url: https://github.com/grafana/loki/releases/download/v2.3.0/logcli-linux-amd64.zip
  sha256: af0d748ac29da9f7d43d5e7675996ab331112024fa06d65e82996925f5882658
  timestamp: 2021-10-11 11:32:19+00:00
- url: https://github.com/grafana/loki/releases/download/v2.4.2/logcli-linux-amd64.zip
  sha256: 68e5e281b4488ad49303cce972e194fe4e186cd519ed8a14db0c28316ad01e05
  timestamp: 2022-01-12 19:25:43+00:00
- url: https://github.com/grafana/loki/releases/download/v2.4.2/logcli-linux-arm.zip
  sha256: 362eb654400e33024c40d1a8f4595241f206fbcb39b8767fe7104cf301f8d325
  timestamp: 2022-01-30 16:22:16+00:00
- url: https://github.com/grafana/loki/releases/download/v2.4.2/logcli-linux-arm64.zip
  sha256: 38003a38b3ffab792fc1f00d68bf48fe440ec48ff0eb13206c37805e18d19eac
  timestamp: 2022-01-30 16:22:16+00:00
- url: https://github.com/grafana/loki/releases/download/v2.5.0/logcli-linux-amd64.zip
  sha256: ba034c3c56e121697a6bcec7a51b012e946a4f449a757a0ce594cd689c3e6648
  timestamp: 2022-04-11 20:28:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.5.0/logcli-linux-arm.zip
  sha256: 6db5b6108a5a9ba9f1a0be9244db3c83026506fa4b254e454644dbcf2bc209f6
  timestamp: 2022-04-11 20:28:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.5.0/logcli-linux-arm64.zip
  sha256: 61a35f694bdc75c7c9a4cfabc84edcd1ea827084c102a68d7130a5dadfb98f2f
  timestamp: 2022-04-11 20:28:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.6.0/logcli-linux-amd64.zip
  sha256: ec390ceb802b5295f8abbd3b14c46b90c86ee332a86e86de3e6ba782ae0cbda7
  timestamp: 2022-07-08 20:27:36+00:00
- url: https://github.com/grafana/loki/releases/download/v2.6.0/logcli-linux-arm.zip
  sha256: 4697cb472bffe73bf0a6b24cfea37b893c2d6e2904044b5a92781daa584fc35d
  timestamp: 2022-07-08 20:27:36+00:00
- url: https://github.com/grafana/loki/releases/download/v2.6.0/logcli-linux-arm64.zip
  sha256: 5972be4f9252cdfd9858e972aba53794d4854309a0087bb6299d6ba0a62362e1
  timestamp: 2022-07-08 20:27:36+00:00
- url: https://github.com/grafana/loki/releases/download/v2.6.1/logcli-linux-amd64.zip
  sha256: 8fe59a3b2f83c02920f29251a97ad1f6d4a83a8bbbc20097b73fb839d946cb75
  timestamp: 2022-07-18 14:46:23+00:00
- url: https://github.com/grafana/loki/releases/download/v2.6.1/logcli-linux-arm.zip
  sha256: 2ad747a3bba8bff77f03f7f38edb6c2f60d186a8e1bd395c425c0ed5d0676c1f
  timestamp: 2022-07-18 14:46:23+00:00
- url: https://github.com/grafana/loki/releases/download/v2.6.1/logcli-linux-arm64.zip
  sha256: e2c3cb728402087cadc120e190d617db8e0b39eb21bbff73f0d040e535822ca8
  timestamp: 2022-07-18 14:46:23+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.0/logcli-linux-amd64.zip
  sha256: 5df9bf01cead8852c21f0a9e9bf1801d0f41a83f4921395f9b70244778f7d712
  timestamp: 2022-11-11 04:56:54+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.0/logcli-linux-arm.zip
  sha256: f863117b680ccad04484d1bc41f5809a78b8c9017ff41f31cc557ff839a9568f
  timestamp: 2022-11-11 04:56:54+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.0/logcli-linux-arm64.zip
  sha256: ae36882a653f4b9708583e45fbf9cfd5ac70fa8fcdf676d53834d09179ff7dda
  timestamp: 2022-11-11 04:56:54+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.1/logcli-linux-amd64.zip
  sha256: 5b1033be27f8bb77cb4f5a836558b3f0719a989cd9add7c848800e4b2f59b394
  timestamp: 2022-12-10 02:34:26+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.1/logcli-linux-arm.zip
  sha256: a1fad7f5dbcf0f31c6e5e5a8bb48d23ac23fde0c00c5c1582717bd78343ee95c
  timestamp: 2022-12-10 02:34:26+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.1/logcli-linux-arm64.zip
  sha256: 905ccb70e74196b0272bb07b282801ff20fc6b61d83844cb01d8743a8f778b2c
  timestamp: 2022-12-10 02:34:26+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.2/logcli-linux-amd64.zip
  sha256: ae9d78a6703b4593a973e3add8f11abac54246626a2be2443e400093a3a354ab
  timestamp: 2023-01-26 22:16:31+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.2/logcli-linux-arm.zip
  sha256: 70c51bb938998c8e61d307abe601da6d45ff7559c7b424e2321685a765a48228
  timestamp: 2023-01-26 22:16:31+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.2/logcli-linux-arm64.zip
  sha256: 149e645cc68a38f0ba2316cabd8dce75609ce069b9af73a7a6875298f0e0fcd7
  timestamp: 2023-01-26 22:16:31+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.3/logcli-linux-amd64.zip
  sha256: d295d510e5eca6f2437acc085aba399ea4274705d1fec436cf916919c75cec45
  timestamp: 2023-02-01 16:20:09+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.3/logcli-linux-arm.zip
  sha256: c1efd6ddcf451dfef8437f311157b49a9fe7e04bc21ec82ae8a1b3c6b07d426c
  timestamp: 2023-02-01 16:20:09+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.3/logcli-linux-arm64.zip
  sha256: fb06d4040609a38d6f23eab8664af8935452c191a21ff5961ee1a13132e7cabf
  timestamp: 2023-02-01 16:20:09+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.4/logcli-linux-amd64.zip
  sha256: 6ad831b3c350f86f4dc30fb09bfbda330fe7575b0658c2110178e81bd42c5327
  timestamp: 2023-02-24 22:16:01+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.4/logcli-linux-arm.zip
  sha256: eb5fafed57376c961154be285ff6ae7534725291618144971e7e56ccf0e109cc
  timestamp: 2023-02-24 22:16:01+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.4/logcli-linux-arm64.zip
  sha256: a17401becad1195bd31186b52fad95681cefba78f5538a7ec309da4d39680077
  timestamp: 2023-02-24 22:16:01+00:00
- url: https://github.com/grafana/loki/releases/download/v2.3.0/logcli-linux-arm.zip
  sha256: 4197493bff88789a6ad623fedecf5fab0f075c325c4a1c6ca640a0fc068efd21
  timestamp: 2023-03-06 12:16:10+00:00
- url: https://github.com/grafana/loki/releases/download/v2.3.0/logcli-linux-arm64.zip
  sha256: 4659f99e10924e4c5e2a4567f80806967c61000cc56ea67ce2b7984c3b8e6e83
  timestamp: 2023-03-06 12:16:10+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.5/logcli-linux-amd64.zip
  sha256: c5043dbfbd77e62ab9eace49cb05b9fa308f0224c478c26c55e62c32490b4e51
  timestamp: 2023-03-28 15:20:19+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.5/logcli-linux-arm.zip
  sha256: 699df293fe44db06fe8f13bb7af332a4edbf26c29f804d1fd92b9987ba6a82cf
  timestamp: 2023-03-28 15:20:19+00:00
- url: https://github.com/grafana/loki/releases/download/v2.7.5/logcli-linux-arm64.zip
  sha256: 4ace3d45c0d6d55fb5259bf8082719477437e813579f0b5d3d6dc3f2d978f66c
  timestamp: 2023-03-28 15:20:19+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.0/logcli-linux-amd64.zip
  sha256: 470eb21b01a4b89495fd6af07532460395513a50fae4b722559df82f2e222df9
  timestamp: 2023-04-04 18:19:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.0/logcli-linux-arm.zip
  sha256: cdab4cb611d6ed0d418bd85631695bbf97b6ed517919c65ed49f15006abdc8a1
  timestamp: 2023-04-04 18:19:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.0/logcli-linux-arm64.zip
  sha256: 9ae0de3b75a916cab6eb3d41c62e860d4ab69e9cabd7e1769bd559c77cc50430
  timestamp: 2023-04-04 18:19:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.1/logcli-linux-amd64.zip
  sha256: e9a46864f0c9b2f048f67759c5a693305a6ed3d10c765f6d989fb91e29ae6a40
  timestamp: 2023-04-25 10:50:55+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.1/logcli-linux-arm.zip
  sha256: f05e75a088a92cc8c5bddc7a5a22d75f094ccfedecaa27836476e9dd4265d99e
  timestamp: 2023-04-25 10:50:55+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.1/logcli-linux-arm64.zip
  sha256: 1f45b7d68c4a3c5467116e6819e4383b0a2509bdb5746ffae4c708ecee50de88
  timestamp: 2023-04-25 10:50:55+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.2/logcli-linux-amd64.zip
  sha256: 5aa8a83c343c68f9dcb63305642522391fa671abf1c74195feb855ab576e2904
  timestamp: 2023-05-03 12:33:48+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.2/logcli-linux-arm.zip
  sha256: c55e3e699caa45e7ff9edea594c99f377715a6083d4b6b72dc0a78f459745bed
  timestamp: 2023-05-03 12:33:48+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.2/logcli-linux-arm64.zip
  sha256: 711d4bcb0647c9daa2357d90960ac76066339bfaf0a3cc0b54b63f6beb65e690
  timestamp: 2023-05-03 12:33:48+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.3/logcli-linux-amd64.zip
  sha256: 1c1c05ee4d84f3071cec222b755c0e1b7d1b7edaeb4c053b6916d2ea53462034
  timestamp: 2023-07-27 09:16:48+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.3/logcli-linux-arm.zip
  sha256: 6d125ad3423848076441281829a49c00c6a8217d199f2206b91ab66cf97b3a7a
  timestamp: 2023-07-27 09:16:48+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.3/logcli-linux-arm64.zip
  sha256: c83f610861b68daf57a135bdf81980f4b2afccaf06ad4781536509ecf788b3db
  timestamp: 2023-07-27 09:16:48+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.4/logcli-linux-amd64.zip
  sha256: 3da841c5032ef300846ddc2f382520c9f97c18f33c99e6b3f6784da36a1ae699
  timestamp: 2023-08-12 01:08:00+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.4/logcli-linux-arm.zip
  sha256: a02e8930f04b526c0165966f30dda5357a732edab9ef580f8a37f8d553f64136
  timestamp: 2023-08-12 01:08:00+00:00
- url: https://github.com/grafana/loki/releases/download/v2.8.4/logcli-linux-arm64.zip
  sha256: 5cef8e0a07a0d5cc23eefb49f382eb2412522cbfbee56ad95437ea6f828eda51
  timestamp: 2023-08-12 01:08:00+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.0/logcli-linux-amd64.zip
  sha256: df0232892251fe615edb674085a5fe3c96e40408e29e01978a37c20f7795a990
  timestamp: 2023-09-07 21:14:14+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.0/logcli-linux-arm.zip
  sha256: 186b3aa34c0bed36029bb464d0166db520ae2f22b31613067391b9ec4da5f38f
  timestamp: 2023-09-07 21:14:14+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.0/logcli-linux-arm64.zip
  sha256: 503b18223dac1838f9597318109d28b8c722f9290f42fb4fd25be0cd54769ed9
  timestamp: 2023-09-07 21:14:14+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.1/logcli-linux-amd64.zip
  sha256: 94a26d58d490eaa13bb947ad07c04600e5f00d8fac957ed14d0623aa9d4e51f6
  timestamp: 2023-09-15 03:17:09+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.1/logcli-linux-arm.zip
  sha256: 5b26f8aab3e59374d5bcb414d21dad7cead8ed4a3d457c727282546c94c86559
  timestamp: 2023-09-15 03:17:09+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.1/logcli-linux-arm64.zip
  sha256: 13c402bcc4eb82a7b9ebeef2e1feff2fa61ad7ab2250904f10fffe8613084c0b
  timestamp: 2023-09-15 03:17:09+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.2/logcli-linux-amd64.zip
  sha256: 5dd28f6ed7c4c75c04c663a0033346018b1c2c333630c2ca7d9fd2fbabb63c6e
  timestamp: 2023-10-16 15:16:58+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.2/logcli-linux-arm.zip
  sha256: 4a422627533be50841c5b785b25a77651110be8bdac712e86cd7ace4b1f88cac
  timestamp: 2023-10-16 15:16:58+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.2/logcli-linux-arm64.zip
  sha256: 8f2ca774a1293b96baecff29c3969c1afe1699ddbbc19f886cca370f278a03b8
  timestamp: 2023-10-16 15:16:58+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.3/logcli-linux-amd64.zip
  sha256: 94d39ffc2c435e9f1c4ed4848f57bdd93f69e4939ee1010317361a53d120a335
  timestamp: 2023-12-12 01:17:12+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.3/logcli-linux-arm.zip
  sha256: ef82502c1cd3a2b9ee203e0e07645e17ebf4da6af9fa1cac72713cd9a8d09846
  timestamp: 2023-12-12 01:17:12+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.3/logcli-linux-arm64.zip
  sha256: 61d290f3914c1fa6c5067a735a0c75e3d855b3ee130f7dd308bb84bf503c09f6
  timestamp: 2023-12-12 01:17:12+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.4/logcli-linux-amd64.zip
  sha256: 20a9f33b07e2ba242d4160f6f479ac77e3ca40fee913a03096e116bf3988fcee
  timestamp: 2024-01-24 18:20:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.4/logcli-linux-arm.zip
  sha256: 133cc6a7cf8c30fe8e64dab3023a78bf6c4a7ba31da91ccbb7b01f83c82fa4f6
  timestamp: 2024-01-24 18:20:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.4/logcli-linux-arm64.zip
  sha256: e016d23c8e3551ad023cbecb1cecd6b8178497f7170d582ea9bd46caecb2da65
  timestamp: 2024-01-24 18:20:57+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.5/logcli-linux-amd64.zip
  sha256: a22f7e29bb9ef8f6f70e31926bbffc646b9e36b3265458e199c497b305d21cc2
  timestamp: 2024-02-29 00:20:36+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.5/logcli-linux-arm.zip
  sha256: 0ad5c86191916121acea30d44011d84d33e5ca27497691980de16f1508b209f5
  timestamp: 2024-02-29 00:20:36+00:00
- url: https://github.com/grafana/loki/releases/download/v2.9.5/logcli-linux-arm64.zip
  sha256: 06b6a6b961f5004c51eb7922509dbbb189701b1f3925ba1bb2289894fef7861e
  timestamp: 2024-02-29 00:20:36+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/logcli.svg)](https://docs.wakemeops.com/packages/logcli)
<a href="https://docs.wakemeops.com/packages/logcli">
  <img src="https://docs.wakemeops.com/badges/logcli.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/logcli.svg
:target: https://docs.wakemeops.com/packages/logcli