API Connect

 View Only
  • 1.  Troubleshooting in API Connect

    Posted Fri September 13, 2024 06:53 AM

    Hi All,

    Please resolve the following queries in API Connect:

    1. How can I configure the log target for a specific API that is already present in API Connect, and also filter logs based on a specific customer IP address?

    2. How can I create a cache policy for storing and reusing tokens in API Connect?

    Thanks in advance for your valuable information.



    ------------------------------
    kandula nagababu
    ------------------------------


  • 2.  RE: Troubleshooting in API Connect

    Posted Fri September 13, 2024 01:43 PM

    Hi Kandula,
    1. There is not a filter for a specific API, although there is a mechanism to have the logging target filter by IP.  See https://www.ibm.com/docs/en/datapower-gateway/10.6.0?topic=targets-adding-ip-address-filters-log-target.
    2. In DataPower v10.6.0.x I would suggest the use of distributed variables.  See https://www.ibm.com/docs/en/datapower-gateway/10.6.0?topic=administration-distributed-variables

    Best Regards,
    Steve Linn



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------



  • 3.  RE: Troubleshooting in API Connect

    Posted Mon September 16, 2024 03:01 AM

    If your API is already sending data to APIC Analytics (the default), then you can filter in the analytics ingestion config to do different things for different APIs or even different client IPs.
    Some examples in the docs for doing conditional offload - examples of how to create if statements in ingestion config can be found here: https://www.ibm.com/docs/en/api-connect/10.0.8?topic=filters-example-ingestion

    Just to add a note to what Steve said - DP 10.6.0.x can only be used with APIC 10.0.8. Please make sure you refer to the docs for the APIC and DP versions you are actually using.



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



  • 4.  RE: Troubleshooting in API Connect

    Posted Mon September 16, 2024 09:09 AM

    Hi Chris Dudley/Steve Linn,

    Thank you for your valuable support. I was able to do the things that you mentioned above.



    ------------------------------
    kandula nagababu
    ------------------------------