Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion grok to parse python dict
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pete Fritchman  
View profile  
 More options May 8 2012, 10:13 am
From: Pete Fritchman <pe...@databits.net>
Date: Tue, 8 May 2012 10:13:06 -0400
Local: Tues, May 8 2012 10:13 am
Subject: Re: [logstash-users] grok to parse python dict

On Tue, May 8, 2012 at 6:24 AM, Vlad Vintila <vintilav...@gmail.com> wrote:
> I changed my format to json. Can you give a config sample for the json
> filter that puts the keys as fields with their respective values as values?

> Only thing I've found on this is this
> example: https://gist.github.com/1543170 , but I don't want that.(also I

Right now it's only nested.  If you log the entire log event in JSON,
you can set "format => json" on your file input.

> read that you cannot get nested the data, yet)

I'm working on a patch that lets you do %{foo.bar} to get at the nested data.

--
petef


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.