Using Graylog 3.3 I configured the log4j2.xml file to logging user activity.
Using this:
The output looked like this
2020-12-01 23:10:15,169 DEBUG: org.graylog2.rest.accesslog - 11.111.1.11 SOME_USER [-] "GET api/views/fields" Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 200 -1
From that I was able to make a widget and confiure an extractor to get the user name from the message and now I dont get a user name I get a string of numbers. Is this correct or could I have done something wrong when upgrading to v4.0?
Now I get this:
2020-12-01 23:10:15,169 DEBUG: org.graylog2.rest.accesslog - 11.111.1.11
**5e224e7683d72eff75055199** [-] "GET api/views/fields" Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 200 -1
My Graylog Environment
Graylog 4.0.0+9376305 on graylog.enseva-labs.net 1 (Red Hat, Inc. 1.8.0_272 on Linux 3.10.0-1160.6.1.el7.x86_64)
MongoDB βversion": β4.4.1β
Elasticsearch β7.10β
CentOS Linux release 7.8.2003 (Core), 8 CPUβs, 8 GB memory, 1TB HDD (Virtual Machine).
Any suggestion or advice would be apperciated, thanks in advance.