{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Analytics /
avatar image
0
Question by jaskarangump · Aug 18, 2016 at 12:49 AM · 201 Views analytics

Preventing path information from being stored in analytics

Hi,

We are using APIgee cloud and have user sensitive information passing through the URL. This is personally identifiable information and we don't want it to be logged anywhere.

I guess we can override the internal analytics field in the proxy, so that the masked information is logged. But this will add maintenance overhead.

Is there a better way to do this.

Example - Resource - user

Request - GET /user/1234/details

We want to prevent the user id i.e 1234 from being logged in analytics.

Thanks,

Jaskaran

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

4 Answers

  • Sort: 
avatar image
0

Answer by spadmanabhan · Aug 18, 2016 at 12:59 AM

Jaskaran, your own suggestion is the best way to do this. Create a policy that will perform the appropriate masking of the path before it is forwarded to Analytics.

Comment
Add comment Show 3 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jaskarangump · Aug 18, 2016 at 01:09 AM 0
Link

Thanks @spadmanabhan. However as I think more, there can still be a problem with it.

If we did this masking in a JS or any other policy in preflow, but the proxy errors out at this stage, the substitution might not happen and analytics will go ahead and log the information.

Not sure how this can be prevented.

Thanks,

Jaskaran

avatar image Peter Dunker · Nov 18, 2020 at 12:58 PM 0
Link

Not sure if in the last 4 years something has changed.

We tried the masking, but it only works for tracing/debugging.

The URI is still in the analytics store and you can generate reports that show the complete URI with the sensitive information.

Is there a way for commercial customers to work with Apigee support and get certain fields not being captured into analytics store? E.g.
URI, IP address, ...

avatar image Priyadarshi Ajitav Jena Peter Dunker · Nov 18, 2020 at 05:51 PM 0
Link

masking only works in trace.

URI by default goes to analytics. So, this is still not changed.

avatar image
0

Answer by rajeev@apigee.com · Aug 18, 2016 at 02:09 AM

@jaskarangump

Why would you be passing sensitive information via the URL? Can you do either of the following

  1. http://docs.apigee.com/api-services/content/data-masking#configuringamaskconfigurationresource.
    1. Use the Variable to mask the request.path if the information is sensitive?
  2. tokenize the url parameter?
Comment
Add comment Show 2 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jaskarangump · Aug 18, 2016 at 02:16 AM 0
Link

Hi @rajeev@apigee.com -

My understanding is that masking only works for trace sessions. I will see if it masks information stored in analytics.

Tokenizing would require a big change at our end.

Thanks

Jaskaran

avatar image jaskarangump · Aug 18, 2016 at 02:23 AM 0
Link

As per documentation also, masking is only for trace session and is enabled when tracing is on.

avatar image
0

Answer by spadmanabhan · Aug 18, 2016 at 04:09 AM

Jaskaran, I think you are analyzing this correctly. Best is if you can prevent this input in the first place. Otherwise, the policy mechanism will capture and address all the well formed scenarios. I don't think we have a solution to address the router erroring scenario.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jaskarangump · Aug 18, 2016 at 09:11 PM 0
Link

@spadmanabhan Does it mean that the requests get logged in analytics even if there is afailure in router?

Can you please let us know where is the information logged in analytics. I guess I want to know if a something is logged even if the request doesnt reach messageprocessor.

avatar image
0

Answer by spadmanabhan · Aug 18, 2016 at 09:19 PM

We are not storing router failure messages in analytics right now. But we could do this in the foreseeable future.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

27 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is Analytics Impacted when streaming is enabled? 3 Answers

What is the reason of getting traffic count against Developer App as 'not set' in Analytics. There is no such Developer App created either on Apigee Edge or Developer Portal. 1 Answer

Analytics not giving traffic for my developer app 1 Answer

How to get the analytics of a developer 1 Answer

Traffic by target analytics showing client IPs 0 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges