Page History
...
Eksempel fra auditloggen.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "time": "2022-06-13T14:49:29.09Z", |
...
"category": "dk.sds.nsp.audit.log.minlog2", |
...
"audit": { |
...
"timestamp": "2022-06-13T16:49:29.046+02:00", |
...
"components": [ |
...
{ |
...
"component": "MinLog2", |
...
"contexts": [ |
...
{ |
...
"context": "LookupRequest", |
...
"information": [ |
...
{ |
...
"key": "Caller", |
...
"type": "SPI", |
...
"value": "1010780337" |
...
}, |
...
{ |
...
"key": "Parameters", |
...
"type": "SPI", |
...
"value": "NA" |
...
} |
...
] |
...
} |
...
] |
...
} |
...
] |
...
}, |
...
"access": { |
...
"code": 200, |
...
"duration": 39, |
...
"httpHeaders": { |
...
"Content-Type": "text/xml; charset=UTF-8", |
...
"SOAPAction": "\"GetLogStatementsForCPRPersonWithID\"" |
...
}, |
...
"httpHost": "localhost", |
...
"idCardAttributes": { |
...
"dk:gov:saml:attribute:AssuranceLevel": "3", |
...
"dk:gov:saml:attribute:CprNumberIdentifier": "1010780337", |
...
"dk:gov:saml:attribute:SpecVer": "DK-SAML-2.0" |
...
}, |
...
"method": "POST", |
...
"path": "/minlog2-lookupid/LookupidService", |
...
"query": "", |
...
"port": 8081, |
...
"protocol": "http", |
...
"reqSize": 11810, |
...
"resSize": 21707, |
...
"soapHeaders": { |
...
"Audience": "https://minlog", |
...
"Issuer": "TEST2-NSP-STS", |
...
"NameID": "C=DK,O=Ingen organisatorisk tilknytning,CN=Lars Larsen,Serial=PID:9208-2002-2-633568693394", |
...
"w3Action": "action", |
...
"w3MessageID": "64d6a252-f391-460c-a90b-1ea7d8512cd8" |
...
}, |
...
"threadId": "default task-102", |
...
"time": "2022-06-13T16:49:29.046+02:00", |
...
"stats": { |
...
"handlerDuration": 3, |
...
"RequestContentDuration": 0, |
...
"ResponseContentDuration": 0, |
...
"SecurityProtocolRequestDuration": 0, |
...
"SecurityProtocolResponseDuration": 0, |
...
"bufferAllocated": false, |
...
"usedBuffers": 2, |
...
"activeBuffersInPool": 2, |
...
"idleBuffersInPool": 29 |
...
} |
...
} } |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ |
...
"time": "2022-06-13T14:49:25.078Z", |
...
"category": "dk.sds.nsp.audit.log.minlog2", |
...
"audit": { |
...
"timestamp": "2022-06-13T16:49:25.022+02:00", |
...
"components": [ |
...
{ |
...
"component": "MinLog2", |
...
"contexts": [ |
...
{ |
...
"context": "LookupRequest", |
...
"information": [ |
...
{ |
...
"key": "Caller", |
...
"type": "SPI", |
...
"value": "46837428" |
...
}, |
...
{ |
...
"key": "Parameters", |
...
"type": "SPI", |
...
"value": { |
...
"cprNR": "1908931462", |
...
"fraDato": 1655131705018, |
...
"tilDato": 1655131795018, |
...
"pageSize": 7, |
...
"pageStartAfter": "c863eb15ad68e490794788e287e9a811738d1d337dd382c2cd1ad0b0" |
...
} |
...
} |
...
] |
...
} |
...
] |
...
} |
...
] |
...
}, |
...
"access": { |
...
"code": 200, |
...
"duration": 54, |
...
"httpHeaders": { |
...
"Content-Type": "text/xml; charset=UTF-8", |
...
"SOAPAction": "\"http://nsi.dk/minlog/2014/05/23/ListLogStatements\"" |
...
}, |
...
"httpHost": "localhost", |
...
"idCardAttributes": { |
...
"medcom:CareProviderID": "46837428", |
...
"medcom:CareProviderName": "Statens Serum Institut", |
...
"medcom:ITSystemName": "Test", |
...
"sosi:AuthenticationLevel": "3", |
...
"sosi:IDCardID": "H/1xienuUQBuWN0tp09auw==", |
...
"sosi:IDCardType": "system", |
...
"sosi:IDCardVersion": "1.0.1" |
...
}, |
...
"method": "POST", |
...
"path": "/minlog1-lookup/MinlogService", |
...
"query": "", |
...
"port": 8081, |
...
"protocol": "http", |
...
"reqSize": 6286, |
...
"resSize": 4706, |
...
"soapHeaders": { |
...
"Issuer": "TEST2-NSP-STS", |
...
"MessageID": "AAABgV2KeRyT/Cd9qHFnA1NPU0k=", |
...
"NameID": "SubjectDN={SERIALNUMBER=CVR:46837428-UID:27910135 + CN=Statens Serum Institut - Test VOCES, O=Statens Serum Institut // CVR:46837428, C=DK},IssuerDN={CN=TRUST2408 Systemtest XXXIV CA, O=TRUST2408, C=DK},CertSerial={1604144225}" |
...
}, |
...
"threadId": "default task-88", |
...
"time": "2022-06-13T16:49:25.022+02:00", |
...
"stats": { |
...
"handlerDuration": 1, |
...
"RequestContentDuration": 0, |
...
"ResponseContentDuration": 0, |
...
"SecurityProtocolRequestDuration": 0, |
...
"SecurityProtocolResponseDuration": 0, |
...
"bufferAllocated": false, |
...
"usedBuffers": 1, |
...
"activeBuffersInPool": 1, |
...
"idleBuffersInPool": 30 |
...
} |
...
} |
...
} |
Applikationslog
Filen minlog2-registration-application.log og minlog2-lookup-application.log indeholder applikationsloggen og kan benyttes i fejlsituationer og til statistik. På nuværende tidspunkt anvendes denne primært til logning i forbindelse med batchjob og indlæsning til cache.
...