+ client: add response information to the filtered query log items

This commit is contained in:
Ildar Kamalov 2019-08-30 16:03:36 +03:00
parent 3b98461a2a
commit 428706399a
5 changed files with 315 additions and 249 deletions
client/src/helpers

View file

@ -28,6 +28,7 @@ export const normalizeLogs = logs => logs.map((log) => {
filterId,
rule,
service_name,
status,
} = log;
const { host: domain, type } = question;
const responsesArray = response ? response.map((response) => {
@ -44,6 +45,7 @@ export const normalizeLogs = logs => logs.map((log) => {
filterId,
rule,
serviceName: service_name,
status,
};
});