Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

Query Rule

rule {
    params = [
            "index": "logstash-*",
            "query": [query: [
                                        bool: [
                                            must: [
                                                    ["range": ["@timestamp": ["gt": lastSeenTimestamp]]],
                                                    ["match": [ "message": "error" ]]

    reaction { messages -> // All messages that match the query
            // Your logic here

  • As a query you can use all power of the search API