API Connect

 View Only
  • 1.  Analytics - Product/api

    Posted Thu May 25, 2023 01:37 PM
    Edited by Filipe Ventura Thu May 25, 2023 01:37 PM

    Hi everyone,

    I got a product with two API's.
    In the catalog analytics I only got logs for one. It makes any sense?

    Regards



    ------------------------------
    Filipe Ventura
    ------------------------------



  • 2.  RE: Analytics - Product/api

    Posted Fri May 26, 2023 03:22 AM

    Hiya

    I'm afraid you're going to need to provide a lot more information for anyone to assist there.

    An analytics service is associated with a gateway service, if both APIs are published to the same gateway service then calls to them should show up in Analytics.
    Your APIs need to actually be "enforced" APIs published to the gateway and not just unenforced ones that are only sent to the portal.

    And obviously you need to actually call the API before anything will appear in analytics.

    After checking all of that if you still have an issue please raise a support case including a postmortem, a complete description of the problem, what APIC version you're using etc....

    Cheers,

    Chris



    ------------------------------
    Chris Dudley
    ------------------------------



  • 3.  RE: Analytics - Product/api

    Posted Fri May 26, 2023 10:30 AM

    Hi Chris,

    Regarding your questions.

    I have:
       API A
       API B
    That belongs to the same Product P.

    When I publish them, normally I do it from the manager portal to one catalog C
    When I call API I can see the logs at analytics but for API B the same is not true.

    How can I check the enforced state?



    ------------------------------
    Filipe Ventura
    ------------------------------



  • 4.  RE: Analytics - Product/api

    Posted Fri May 26, 2023 11:01 AM

    Hiya

    Check the settings in API Manager for those APIs.
    They should both be set to enforced and both be set to use something like X-IBM-Client-Id security.



    ------------------------------
    Chris Dudley
    ------------------------------