Hi Nithiya,

you can use one JSON extractor followed by two "Copy input" extractors for 
this, one for copying each field.


Cheers,
Jochen

On Wednesday, 13 January 2016 13:46:00 UTC+1, Nithiya wrote:
>
> Hi - With JSON format in message, how to extract 2 different types of JOSN 
> field into a singel field.
> i.e Format-1 : {"Type":"Test","Desc":"Description1"}
>
> Format-2: {"Type":"Test","Descripton":"Description2"}
>
>
> I want to extract theses 2 types of msgs and want to put 'Desc' and 
> 'Description' in a new field called 'MyDesc'.
>
> How to achieve this in Gray log extractor with JSON as input.
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/ac3d07e9-da99-41bb-9adb-7d9dbddad5bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to