How to use APIGateway Destination Elasticsearch

Hello everyone in the sag world!

I’m currently use version both of the webMethods versions 10.3 and 10.11 for IS/APIGW instances on Linux OS, and I have full customer license.

What I’m trying to achieve: I’m trying to connect API Gateway through the option apigw-dashboard > Destination > Elasticsearch. Previously I finished setup of two version of ELK, 7.* and 8.*. I have successfully tested connection from apigw to both of the elastic locations. I’m also created indexes from elastic/kibana console. I have defined log invocation rule on the API policy for some of my API’s in order to invocate log with log level frequency-always, but nothing come to the indexes on the external ELK dashboard.

In addition, I checked connectivity from Linux console with curl command and that indexes are visible from machine on which the apigw is installed.

Could anyone please give me an idea what I’m missing?

I must to mention that I’m not used fully externalized elasticsearch procedure, I’m just trying to use possibility of using elastic as addtional tracking location for API requests.

An important thing that is not clear to me: What is the right way to create index for that purpose, maybe I missing some option, like to define mapping etc.? I just use option PUT /index_name. I can’t find any instructions for that part anywhere.

Thanks in advance for your patience to consider my problem!
Best regards,

Milan

Hi Milan,
Below links has the documentation on how to configure API Gateway with external Elastic Search. Hope it helps.

https://documentation.softwareag.com/webmethods/compendiums/v10-11/C_API_Management/index.html#page/api-mgmt-comp%2Fco-http_client_elasticsearch.html%23

https://documentation.softwareag.com/webmethods/compendiums/v10-11/C_API_Management/index.html#page/api-mgmt-comp%2Fgtw_configure_es.html%23

Regards

Hi Arumugam,

Thank you very much for your reply. I followed second option for the setup external elastic destination “https://documentation.softwareag.com/webmethods/compendiums/v10-11/C_API_Management/index.html#page/api-mgmt-comp%2Fgtw_configure_es.html%23”.
And I have no success. Strange thing is that whatever I put in the Indexname filed, idexname that exists on my elastic or some random text, result is always: “Elasticseacrh destionation test is successful”.

Best regards,
Milan

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.