Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an 'output_objects' config that builds an object for each grok performed #138

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

w4
Copy link

@w4 w4 commented Apr 15, 2018

Previous functionality grouped each field by name meaning you lost all
context about your events:

{
    "logsource": [
        "evita",
        "evita"
    ],
    "message": [
        "connect from camomile.cloud9.net[168.100.1.3]",
        "connect from steve.cloud9.net[168.100.1.4]"
    ],
    ...
}

to:

{
    "syslogs": [
        {
            "logsource": "evita",
            "message": "connect from camomile.cloud9.net[168.100.1.3]",
            ...
        },
        {
            "logsource": "evita",
            "message": "connect from steve.cloud9.net[168.100.1.4]",
            ...
        }
    ]
}

@jsvd jsvd requested a review from guyboertje April 17, 2018 14:46
@w4 w4 force-pushed the master branch 5 times, most recently from 289fcb9 to a816dfa Compare September 27, 2018 14:20
…rformed

Previous functionality grouped each field by name meaning you lost all
context about whatever you're parsing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants