Filter and multiline logs in filebeat

Hello, I have a problem with parsing multiline log message from Filebeat to Elasticsearch.

sample logs from filebeat is as follows:

2025-02-25T10:26:29.929895387Z stdout F {
2025-02-25T10:26:29.929932291Z stdout F   message: {
2025-02-25T10:26:29.929936772Z stdout F     message: 'Hit url http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/ddts/suite/1881351/fetch',
2025-02-25T10:26:29.929940777Z stdout F     logger: 'Express',
2025-02-25T10:26:29.929943112Z stdout F     status: 200
2025-02-25T10:26:29.929945617Z stdout F   },
2025-02-25T10:26:29.929948085Z stdout F   metadata: {
2025-02-25T10:26:29.929950754Z stdout F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:29.929953338Z stdout F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:29.929955639Z stdout F   },
2025-02-25T10:26:29.929958111Z stdout F   severity: 'info'
2025-02-25T10:26:29.929960625Z stdout F }
2025-02-25T10:26:29.945681873Z stdout F {
2025-02-25T10:26:29.945699431Z stdout F   message: {
2025-02-25T10:26:29.945703029Z stdout F     message: 'Hit url http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/results/ddts/radars',
2025-02-25T10:26:29.945707163Z stdout F     logger: 'Express',
2025-02-25T10:26:29.945710028Z stdout F     status: 200
2025-02-25T10:26:29.945712249Z stdout F   },
2025-02-25T10:26:29.945714967Z stdout F   metadata: {
2025-02-25T10:26:29.945718139Z stdout F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:29.945721112Z stdout F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:29.945723881Z stdout F   },
2025-02-25T10:26:29.945726308Z stdout F   severity: 'info'
2025-02-25T10:26:29.945729096Z stdout F }
2025-02-25T10:26:30.171727436Z stderr F {
2025-02-25T10:26:30.171750426Z stderr F   message: {
2025-02-25T10:26:30.171754338Z stderr F     url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
2025-02-25T10:26:30.171758888Z stderr F     logger: 'Express',
2025-02-25T10:26:30.171761518Z stderr F     error: Error: Request failed with status code 500
2025-02-25T10:26:30.171765393Z stderr F         at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
2025-02-25T10:26:30.171768138Z stderr F         at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
2025-02-25T10:26:30.171771178Z stderr F         at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
2025-02-25T10:26:30.171773834Z stderr F         at IncomingMessage.emit (node:events:530:35)
2025-02-25T10:26:30.171776369Z stderr F         at IncomingMessage.emit (node:domain:552:15)
2025-02-25T10:26:30.171778232Z stderr F         at endReadableNT (node:internal/streams/readable:1698:12)
2025-02-25T10:26:30.171780167Z stderr F         at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2025-02-25T10:26:30.171782136Z stderr F       config: [Object],
2025-02-25T10:26:30.171784301Z stderr F       request: [ClientRequest],
2025-02-25T10:26:30.171786056Z stderr F       response: [Object],
2025-02-25T10:26:30.171788181Z stderr F       isAxiosError: true,
2025-02-25T10:26:30.171790685Z stderr F       toJSON: [Function: toJSON]
2025-02-25T10:26:30.171793282Z stderr F     },
2025-02-25T10:26:30.171795947Z stderr F     status: 500,
2025-02-25T10:26:30.171799358Z stderr F     errorMessage: '{"traceId":"HSdCm75n8_tLITBv-WXQ3","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:30.167570903Z","moduleName":"examplediamond Platform"}'
2025-02-25T10:26:30.171805463Z stderr F   },
2025-02-25T10:26:30.17180787Z stderr F   metadata: {
2025-02-25T10:26:30.171810774Z stderr F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:30.171813733Z stderr F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:30.171816411Z stderr F   },
2025-02-25T10:26:30.17181898Z stderr F   severity: 'error'
2025-02-25T10:26:30.17183237Z stderr F }
2025-02-25T10:26:30.268451431Z stderr F {
2025-02-25T10:26:30.268470903Z stderr F   message: {
2025-02-25T10:26:30.2684747Z stderr F     url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67bd95b1a7122c34945ff5d4/fetchTestResultsByRunId/67bd95b7e6f2b1709555d93f',
2025-02-25T10:26:30.268477892Z stderr F     logger: 'Express',
2025-02-25T10:26:30.268481174Z stderr F     error: Error: Request failed with status code 500
2025-02-25T10:26:30.268484369Z stderr F         at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
2025-02-25T10:26:30.268487699Z stderr F         at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
2025-02-25T10:26:30.26849062Z stderr F         at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
2025-02-25T10:26:30.268493312Z stderr F         at IncomingMessage.emit (node:events:530:35)
2025-02-25T10:26:30.268496491Z stderr F         at IncomingMessage.emit (node:domain:552:15)
2025-02-25T10:26:30.268499176Z stderr F         at endReadableNT (node:internal/streams/readable:1698:12)
2025-02-25T10:26:30.268501751Z stderr F         at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2025-02-25T10:26:30.268504279Z stderr F       config: [Object],
2025-02-25T10:26:30.26850725Z stderr F       request: [ClientRequest],
2025-02-25T10:26:30.268509843Z stderr F       response: [Object],
2025-02-25T10:26:30.268512296Z stderr F       isAxiosError: true,
2025-02-25T10:26:30.268514812Z stderr F       toJSON: [Function: toJSON]
2025-02-25T10:26:30.268517409Z stderr F     },
2025-02-25T10:26:30.268521167Z stderr F     status: 500,
2025-02-25T10:26:30.268525159Z stderr F     errorMessage: '{"traceId":"qUVGmjk_cZHEgUtaS7hj8","message":"You are not part of the group: TEST","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:30.263646938Z","moduleName":"examplediamond Platform"}'
2025-02-25T10:26:30.268528008Z stderr F   },
2025-02-25T10:26:30.268530959Z stderr F   metadata: {
2025-02-25T10:26:30.268534028Z stderr F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:30.268536603Z stderr F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:30.268539256Z stderr F   },
2025-02-25T10:26:30.268541843Z stderr F   severity: 'error'
2025-02-25T10:26:30.268544472Z stderr F }
2025-02-25T10:26:30.557917185Z stderr F {
2025-02-25T10:26:30.557939725Z stderr F   message: {
2025-02-25T10:26:30.557945404Z stderr F     url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67bd95b1a7122c34945ff5d4/fetchTestResultsByRunId/67bd95b7e6f2b1709555d93f',
2025-02-25T10:26:30.55795053Z stderr F     logger: 'Express',
2025-02-25T10:26:30.557954712Z stderr F     error: Error: Request failed with status code 500
2025-02-25T10:26:30.557958863Z stderr F         at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
2025-02-25T10:26:30.557962789Z stderr F         at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
2025-02-25T10:26:30.557966268Z stderr F         at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
2025-02-25T10:26:30.557969112Z stderr F         at IncomingMessage.emit (node:events:530:35)
2025-02-25T10:26:30.557971701Z stderr F         at IncomingMessage.emit (node:domain:552:15)
2025-02-25T10:26:30.557974391Z stderr F         at endReadableNT (node:internal/streams/readable:1698:12)
2025-02-25T10:26:30.557976937Z stderr F         at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2025-02-25T10:26:30.557979485Z stderr F       config: [Object],
2025-02-25T10:26:30.557983234Z stderr F       request: [ClientRequest],
2025-02-25T10:26:30.557986057Z stderr F       response: [Object],
2025-02-25T10:26:30.557988601Z stderr F       isAxiosError: true,
2025-02-25T10:26:30.558005429Z stderr F       toJSON: [Function: toJSON]
2025-02-25T10:26:30.558008129Z stderr F     },
2025-02-25T10:26:30.558011256Z stderr F     status: 500,
2025-02-25T10:26:30.558016024Z stderr F     errorMessage: '{"traceId":"eFTRGj2eLcQOaj2u0F25Z","message":"You are not part of the group: TEST","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:30.553688765Z","moduleName":"examplediamond Platform"}'
2025-02-25T10:26:30.558018466Z stderr F   },
2025-02-25T10:26:30.558021088Z stderr F   metadata: {
2025-02-25T10:26:30.558024173Z stderr F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:30.558026798Z stderr F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:30.558029516Z stderr F   },
2025-02-25T10:26:30.558032086Z stderr F   severity: 'error'
2025-02-25T10:26:30.558034809Z stderr F }
2025-02-25T10:26:31.277771405Z stderr F {
2025-02-25T10:26:31.277791818Z stderr F   message: {
2025-02-25T10:26:31.277797295Z stderr F     url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
2025-02-25T10:26:31.277799948Z stderr F     logger: 'Express',
2025-02-25T10:26:31.2778037Z stderr F     error: Error: Request failed with status code 500
2025-02-25T10:26:31.277806125Z stderr F         at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
2025-02-25T10:26:31.277808464Z stderr F         at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
2025-02-25T10:26:31.277811534Z stderr F         at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
2025-02-25T10:26:31.277813485Z stderr F         at IncomingMessage.emit (node:events:530:35)
2025-02-25T10:26:31.277815471Z stderr F         at IncomingMessage.emit (node:domain:552:15)
2025-02-25T10:26:31.277817354Z stderr F         at endReadableNT (node:internal/streams/readable:1698:12)
2025-02-25T10:26:31.27781924Z stderr F         at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2025-02-25T10:26:31.277821214Z stderr F       config: [Object],
2025-02-25T10:26:31.277824194Z stderr F       request: [ClientRequest],
2025-02-25T10:26:31.277826789Z stderr F       response: [Object],
2025-02-25T10:26:31.277829281Z stderr F       isAxiosError: true,
2025-02-25T10:26:31.27783189Z stderr F       toJSON: [Function: toJSON]
2025-02-25T10:26:31.27783445Z stderr F     },
2025-02-25T10:26:31.277837118Z stderr F     status: 500,
2025-02-25T10:26:31.2778418Z stderr F     errorMessage: '{"traceId":"ojDTHZsJIqBSnBVV-XV5C","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:31.273973867Z","moduleName":"examplediamond Platform"}'
2025-02-25T10:26:31.277844405Z stderr F   },
2025-02-25T10:26:31.27784703Z stderr F   metadata: {
2025-02-25T10:26:31.277849886Z stderr F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:31.277852382Z stderr F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:31.277855111Z stderr F   },
2025-02-25T10:26:31.27785789Z stderr F   severity: 'error'
2025-02-25T10:26:31.277860474Z stderr F }
2025-02-25T10:26:32.184803964Z stderr F {
2025-02-25T10:26:32.184823331Z stderr F   message: {
2025-02-25T10:26:32.18482696Z stderr F     url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
2025-02-25T10:26:32.184830733Z stderr F     logger: 'Express',
2025-02-25T10:26:32.184833881Z stderr F     error: Error: Request failed with status code 500
2025-02-25T10:26:32.184836749Z stderr F         at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
2025-02-25T10:26:32.184850569Z stderr F         at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
2025-02-25T10:26:32.184853071Z stderr F         at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
2025-02-25T10:26:32.184854947Z stderr F         at IncomingMessage.emit (node:events:530:35)
2025-02-25T10:26:32.184857321Z stderr F         at IncomingMessage.emit (node:domain:552:15)
2025-02-25T10:26:32.184859752Z stderr F         at endReadableNT (node:internal/streams/readable:1698:12)
2025-02-25T10:26:32.184862521Z stderr F         at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2025-02-25T10:26:32.184864945Z stderr F       config: [Object],
2025-02-25T10:26:32.184867801Z stderr F       request: [ClientRequest],
2025-02-25T10:26:32.18487059Z stderr F       response: [Object],
2025-02-25T10:26:32.184873177Z stderr F       isAxiosError: true,
2025-02-25T10:26:32.184875757Z stderr F       toJSON: [Function: toJSON]
2025-02-25T10:26:32.184878517Z stderr F     },
2025-02-25T10:26:32.184881137Z stderr F     status: 500,
2025-02-25T10:26:32.184884607Z stderr F     errorMessage: '{"traceId":"6fgqzmQ97viDzNR3aQQOU","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:32.179590580Z","moduleName":"examplediamond Platform"}'
2025-02-25T10:26:32.184886537Z stderr F   },
2025-02-25T10:26:32.184888332Z stderr F   metadata: {
2025-02-25T10:26:32.184890477Z stderr F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:32.184892259Z stderr F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:32.184894644Z stderr F   },
2025-02-25T10:26:32.184897133Z stderr F   severity: 'error'
2025-02-25T10:26:32.184899789Z stderr F }
2025-02-25T10:26:32.275929981Z stderr F {
2025-02-25T10:26:32.275955245Z stderr F   message: {
2025-02-25T10:26:32.275958847Z stderr F     url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
2025-02-25T10:26:32.27596229Z stderr F     logger: 'Express',
2025-02-25T10:26:32.27596606Z stderr F     error: Error: Request failed with status code 500
2025-02-25T10:26:32.275968907Z stderr F         at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
2025-02-25T10:26:32.275971843Z stderr F         at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
2025-02-25T10:26:32.275974566Z stderr F         at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
2025-02-25T10:26:32.275976988Z stderr F         at IncomingMessage.emit (node:events:530:35)
2025-02-25T10:26:32.275979454Z stderr F         at IncomingMessage.emit (node:domain:552:15)
2025-02-25T10:26:32.275981812Z stderr F         at endReadableNT (node:internal/streams/readable:1698:12)
2025-02-25T10:26:32.27598436Z stderr F         at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2025-02-25T10:26:32.275986994Z stderr F       config: [Object],
2025-02-25T10:26:32.275989953Z stderr F       request: [ClientRequest],
2025-02-25T10:26:32.275992711Z stderr F       response: [Object],
2025-02-25T10:26:32.275995294Z stderr F       isAxiosError: true,
2025-02-25T10:26:32.275997903Z stderr F       toJSON: [Function: toJSON]
2025-02-25T10:26:32.276000395Z stderr F     },
2025-02-25T10:26:32.276002928Z stderr F     status: 500,
2025-02-25T10:26:32.276006458Z stderr F     errorMessage: '{"traceId":"P0uyoqPLyBCTECxeI43NK","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:32.271643668Z","moduleName":"examplediamond Platform"}'
2025-02-25T10:26:32.276009237Z stderr F   },
2025-02-25T10:26:32.27601215Z stderr F   metadata: {
2025-02-25T10:26:32.276015439Z stderr F     index: 'examplediamond_examplecare_prod',
2025-02-25T10:26:32.276040357Z stderr F     host: 'https://splunk-cov-dev.corp.example.com'
2025-02-25T10:26:32.276043719Z stderr F   },
2025-02-25T10:26:32.276046292Z stderr F   severity: 'error'
2025-02-25T10:26:32.276048599Z stderr F }

and I am expecting the logs to be pushed to Elasticsearch as follows:

{
  message: {
    message: 'Hit url http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/ddts/suite/1881351/fetch',
    logger: 'Express',
    status: 200
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'info'
}
{
  message: {
    message: 'Hit url http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/results/ddts/radars',
    logger: 'Express',
    status: 200
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'info'
}
{
  message: {
    url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
    logger: 'Express',
    error: Error: Request failed with status code 500
        at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:530:35)
        at IncomingMessage.emit (node:domain:552:15)
        at endReadableNT (node:internal/streams/readable:1698:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      config: [Object],
      request: [ClientRequest],
      response: [Object],
      isAxiosError: true,
      toJSON: [Function: toJSON]
    },
    status: 500,
    errorMessage: '{"traceId":"HSdCm75n8_tLITBv-WXQ3","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:30.167570903Z","moduleName":"examplediamond Platform"}'
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'error'
}
{
  message: {
    url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67bd95b1a7122c34945ff5d4/fetchTestResultsByRunId/67bd95b7e6f2b1709555d93f',
    logger: 'Express',
    error: Error: Request failed with status code 500
        at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:530:35)
        at IncomingMessage.emit (node:domain:552:15)
        at endReadableNT (node:internal/streams/readable:1698:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      config: [Object],
      request: [ClientRequest],
      response: [Object],
      isAxiosError: true,
      toJSON: [Function: toJSON]
    },
    status: 500,
    errorMessage: '{"traceId":"qUVGmjk_cZHEgUtaS7hj8","message":"You are not part of the group: TEST","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:30.263646938Z","moduleName":"examplediamond Platform"}'
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'error'
}
{
  message: {
    url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67bd95b1a7122c34945ff5d4/fetchTestResultsByRunId/67bd95b7e6f2b1709555d93f',
    logger: 'Express',
    error: Error: Request failed with status code 500
        at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:530:35)
        at IncomingMessage.emit (node:domain:552:15)
        at endReadableNT (node:internal/streams/readable:1698:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      config: [Object],
      request: [ClientRequest],
      response: [Object],
      isAxiosError: true,
      toJSON: [Function: toJSON]
    },
    status: 500,
    errorMessage: '{"traceId":"eFTRGj2eLcQOaj2u0F25Z","message":"You are not part of the group: TEST","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:30.553688765Z","moduleName":"examplediamond Platform"}'
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'error'
}
{
  message: {
    url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
    logger: 'Express',
    error: Error: Request failed with status code 500
        at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:530:35)
        at IncomingMessage.emit (node:domain:552:15)
        at endReadableNT (node:internal/streams/readable:1698:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      config: [Object],
      request: [ClientRequest],
      response: [Object],
      isAxiosError: true,
      toJSON: [Function: toJSON]
    },
    status: 500,
    errorMessage: '{"traceId":"ojDTHZsJIqBSnBVV-XV5C","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:31.273973867Z","moduleName":"examplediamond Platform"}'
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'error'
}
{
  message: {
    url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
    logger: 'Express',
    error: Error: Request failed with status code 500
        at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:530:35)
        at IncomingMessage.emit (node:domain:552:15)
        at endReadableNT (node:internal/streams/readable:1698:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      config: [Object],
      request: [ClientRequest],
      response: [Object],
      isAxiosError: true,
      toJSON: [Function: toJSON]
    },
    status: 500,
    errorMessage: '{"traceId":"6fgqzmQ97viDzNR3aQQOU","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:32.179590580Z","moduleName":"examplediamond Platform"}'
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'error'
}
{
  message: {
    url: 'http://examplediamond-reporting.examplediamond.svc.cluster.local:8080/v1/groups/67ab633e349784054177abd3/fetchTestResultsByRunId/67ab635b198f576b2625934a',
    logger: 'Express',
    error: Error: Request failed with status code 500
        at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:269:11)
        at IncomingMessage.emit (node:events:530:35)
        at IncomingMessage.emit (node:domain:552:15)
        at endReadableNT (node:internal/streams/readable:1698:12)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
      config: [Object],
      request: [ClientRequest],
      response: [Object],
      isAxiosError: true,
      toJSON: [Function: toJSON]
    },
    status: 500,
    errorMessage: '{"traceId":"P0uyoqPLyBCTECxeI43NK","message":"You are not part of the group: examplecare IT Team [ALL]","majorErrorCode":"PLATFORM_ERROR","minorErrorCode":"PLATFORM_ERROR","httpStatusCode":500,"timestamp":"2025-02-25T10:26:32.271643668Z","moduleName":"examplediamond Platform"}'
  },
  metadata: {
    index: 'examplediamond_examplecare_prod',
    host: 'https://splunk-cov-dev.corp.example.com'
  },
  severity: 'error'
}

Any help regarding this is much appreciated