Microsoft365 ExtendedProperties

Hi,
using Grylog 4.3.7 i’m wrking with Microsoft 365 ingestion log.
Now the problem is ExtendedProperties like field.
I use the default json extractor but I have differente valure from input and extracted tag:
The log value is

“ExtendedProperties”: [
{
“Name”: “ResultStatusDetail”,
“Value”: “Redirect”
},
{
“Name”: “UserAgent”,
“Value”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36”
},
{
“Name”: “RequestType”,
“Value”: “OAuth2:Authorize”
}
]

while the graylog extracted one is

{Name=ResultStatusDetail, Value=Redirect}, {Name=UserAgent, Value=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36}, {Name=RequestType, Value=OAuth2:Authorize}

So how I can read it? I don’t understand the graylog conversion. It seems a map list but without quotes I cannot distinguish between the string and number values.

Can somebody help me to understand how to manage it?
Gianluca

Hello @gianluca-valentini

Not 100% sure what going on, what does your settings look like on the input,?

Hi @gsmith
I have an UDP input
image

where I add a default Json extractor

So I show you a test message and the extracted ExtendedProperties

message
{“RecordType”:0.0,“UserAgent”:“Microsoft Office OneNote/16.0.5149.1000 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; WinTSI 06.12.2009;.NET CLR 3.0.30729; .NET4.0C)”,“host”:,“Actor”:,“Target”:,“ModifiedProperties”:[{“Name”:“windiff”,“NewValue”:“nuovo”,“OldValue”:“vecchio”}],“DissectObject”:{“UserObject”:{“id”:“aeng015”}},“Version”:0.0,“ExtendedProperties”:[{“Name”:“ResultStatusDetail”,“Value”:“Redirect”}],“AzureActiveDirectoryEventType”:0.0,“UserType”:0.0,“tags”:[ingestion],“DeviceProperties”:[{“Name”:“nome”,“Value”:1}],“CreationTime”:“2022-11-15T10:26:49”}

ExtendedProperties
{Name=ResultStatusDetail, Value=Redirect}

any idea about my problem?

Hello, @gianluca-valentini

I really havent worked with JSON extractors and to be honest a pipeline would be a lot better.
For example this post.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.