Skip to content

sergsoares/lab-loki-for-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

lab-loki-for-logs

Lab project to test loki functions.

# Start docker-compose
$ docker-compose up -d

Then access http://localhost:3000/explore using default user and password (admin/admin)

Tips for queries

|= is a contains != is not contains |~ Match Regex !~ Doesn't match regex

# Simples query with filter
{compose_service="mario-server"} |= "-Djava" != "protocol"

#Getting logs from method
{compose_service="apache-logs"} | json | method="DELETE"

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published