An open API service indexing awesome lists of open source software.

https://github.com/dideler/graylog_search

Simple package to build composable Graylog queries
https://github.com/dideler/graylog_search

elixir graylog query-builder query-dsl search-queries

Last synced: about 1 year ago
JSON representation

Simple package to build composable Graylog queries

Awesome Lists containing this project

README

          

# 🔍 GraylogSearch

[![Hex pm](http://img.shields.io/hexpm/v/graylog_search.svg?style=flat)](https://hex.pm/packages/graylog_search)

A fun little library to programmatically create basic Graylog search URLs.

An example use case is chat alerts that link to logged events around failures.

Tested with Graylog v2.4.6 and v3.0.1. Not guaranteed to be compatible with other versions.

## Installation

The package can be installed by adding `graylog_search` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:graylog_search, "~> 1.0"}
]
end
```

## Usage

See examples in the docs at [https://hexdocs.pm/graylog_search](https://hexdocs.pm/graylog_search)
and [in the tests](test/graylog_search_test.exs).