Editing Grafana Loki

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Wikipedia:Loki]], like [[Prometheus]], but for [[logs]]. ([https://trends.google.com/trends/explore?date=today%205-y&q=Grafana%20Loki&hl=en-US Google trends])
+
{{Draft}}
 +
[[Wikipedia:Loki]], like [[Prometheus]], but for [[logs]].
  
* https://grafana.com/oss/loki/
 
 
* [[Run Loki using docker compose]]
 
* <code>[[brew install loki]]</code>
 
* Logs: <code>[[~/brew/var/log/loki.log]]</code>
 
* <code>[[loki --help]]</code>
 
* <code>[[curl http://localhost:3100/metrics]]</code>
 
* <code>[[curl http://127.0.0.1:3100]][[/api/prom/label]]</code>
 
cat /tmp/test.log | [[promtail --stdin]] --dry-run --client.url http://127.0.0.1:3100/loki/api/v1/push
 
 
 
* <code>[[~/etc/loki-local-config.yaml]]</code>
 
 
* Clients:[[Grafana agent]], [[Promtail]]
 
* [[Grafana dashboard]]:
 
 
* [[Logstash]]
 
 
[[docker ps]]
 
CONTAINER ID        IMAGE                    COMMAND                  CREATED            STATUS              PORTS                    NAMES
 
6d1c55887373        grafana/[[promtail]]:1.6.0  "/usr/bin/[[promtail]] -…"  34 seconds ago      Up 8 seconds                                root_promtail_1
 
93eec3ca0727        grafana/loki:1.6.0      "/usr/bin/loki -conf…"  34 seconds ago      Up 8 seconds        0.0.0.0:3100->3100/tcp  root_loki_1
 
51c9d5fa1e6d        grafana/grafana:latest  "/run.sh"                34 seconds ago      Up 8 seconds        0.0.0.0:3000->3000/tcp  root_grafana_1
 
 
 
 
== Activities ==
 
* Use Grafana demo: https://play.grafana.org/
 
  
 
== Related terms ==
 
== Related terms ==
 +
* [[Helm]]
 
* [[Promtail]]
 
* [[Promtail]]
 
* [[Grafana]]
 
* [[Grafana]]
* [[Thanos]] [[prometheus]] setup
 
* [[Grafana Loki changelog]]
 
* <code>3101</code>
 
  
 
== See also ==
 
== See also ==
* {{Grafana Loki}}
+
* {{Grafana}}
* {{logs}}
 
 
 
[[Category:Grafana]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: