Skip to content

Automatically setting partition for a format #1241

Answered by tstack
Qgel asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, the partition functionality has been neglected for a bit. But, I've made some changes to the top-of-tree that should help to revive it. You can now add to a format a "partitions" section that can be used to automatically discover partitions in logs as they are indexed. Here are a couple of examples:

  • The following will create partitions for tests run by gtest:

    "partitions": {
    "test-partition": {
    "description": "Partition for gtest sections",
    "paths": [
    {
    "glob": "*/test.log"
    }
    ],
    "pattern": "^\\[ RUN \\] ([^\\n]+)"
    }
    },

  • The following will create partition…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tstack
Comment options

Answer selected by Qgel
@Qgel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants