IBM Support

Why did I get "Response content is Error 404" in the gateway log file while sending events to Log Analysis?

Question & Answer


Question

After I configured Omnibus XML Gateway to send events to Log Analysis (LA), I observed the following error messages in the gateway log file:
2020-11-05T17:09:30: Debug: D-GJA-000-000: [ngjava]: XMLGateway: Time to flush event batch to Unity 'https://scala.ibmtest.com:9987/Unity/DataCollector'.
2020-11-05T17:09:30: Debug: D-GJA-000-000: [ngjava]: XMLGateway: [THREAD=45]: Sending JSON Msg To Data Collector 'https://scala.ibmtest.com:9987/Unity/DataCollector': [{"hostname":"OMNIBUS-DS","logpath":"MYOMNI", ...
2020-11-05T17:09:30: Debug: D-GJA-000-000: [ngjava]: XMLGateway: [THREAD=45]: [POST]: Using REST address: https://scala.ibmtest.com:9987/Unity/DataCollector
2020-11-05T17:09:30: Debug: D-GJA-000-000: [ngjava]: XMLGateway: [THREAD=45]: Response content is Error 404: {"RESPONSE_CODE":404,"BATCH_STATUS":"NONE","RESPONSE_MESSAGE":"CTGLA0401E : Missing data source"}
2020-11-05T17:09:30: Error: E-GJA-000-000: [ngjava]: XMLGateway: [THREAD=45]: Failed to send batch to data collector. HTTP response code != 200. [{ responseCode:404 responseMessage:Not Found responseException:null authenticationRequired:false cookieJar:null responseContent:{"RESPONSE_CODE":404,"BATCH_STATUS":"NONE","RESPONSE_MESSAGE":"CTGLA0401E : Missing data source"}
].

How do I fix it?

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSPFMY","label":"IBM Operations Analytics - Log Analysis"},"ARM Category":[{"code":"a8m0z000000bpvbAAA","label":"Log Analysis-\u003EThird Party Components-\u003EXML gateway"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.3.5;1.3.6"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
10 November 2020

UID

ibm16364993