• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Network Application Monitoring /
  • NAM Open Q&A /
  • Home /
  • .. /
  • NAM Open Q&A /
avatar image
Article by Raffaele T. · Mar 09, 2017 at 04:13 PM

How to map a custom name/text/ID to a Client IP Address

  • Export to PDF
2

Hi there,

Id' like to share with you a short article showing you how to "map" some custom text (i.e. Custom Username, ID, custom names etc.) to a Client IP Address or, more likely, to a list of Client IP Addresses.

It's really simple to achieve that, but this works only for versions > 12.4.10:

First thing you need to do is to create a file called "useripmap.properties" in the CAS_INSTALL_DIR/CAS/config inserting your mappings using the following rule:

actualusername=customtextyouwouldliketoshow

An example of useripmap.properties would be:

10.10.10.1=ThisIDIsMuchBetter
10.10.10.2=ImthecoolestID
10.10.10.3=NoonecanbeatmyID
10.10.10.4=Easypeasy

And yes, you're done, you don't even need a CAS restart..Just wait a couple of monitoring intervals and your information should come up in the "User name" dimension ready to be used in your awesome reports.

Hope that helps.

Ciao,

Raff

PS: before creating the file and applying these rules, please check that the actual user name is matching and you don't have any aggregation in place like "Client from ..."

thub.nodes.view.add-new-comment
dashboard nam server
Karolina L.
Miguel M.

People who like this

2 Show 3
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Raffaele T. · Mar 09, 2017 at 04:14 PM 0
Share

Thanks to @Miguel M. for pointing me out to the useripmap.properties file.

avatar image Karolina L. ♦♦ · Mar 10, 2017 at 08:46 AM 1
Share

Thanks again for sharing your knowledge and tips for DC RUM users!

avatar image Benjamin J. · Mar 11, 2017 at 11:41 AM 0
Share

Hi Raff, this looks really good! I have one question though, & actually it would really help with our user counting!

We have a lot of SNAT addresses from the entry point, which talk to the next tier. When traffic runs, we see a lot of unique users, because the SNAT addresses send keep-alive messages to the next tier. Because there is no username, or x-forwarded-for header in these no-op tcp requests, it looks like each SNAT address is being counted as a user.

We have PVU mode enabled, with the option to count all users from all IP ranges (0.0.0.0-255.255.255.255). Because the username is detected (we can break down by actual username in on-demand, or in ADS) - and then it gets aggregated for the main CAS reports - will this file still work?

Also, is it available in 12.4.10 or only versions after that?

Thanks

Ben

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Article

Contributors

avatar image

Follow this article

15 People are following this article.

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

Navigation

How to map a custom name/text/ID to a Client IP Address

Related Articles

DC RUM 2018 Beta is here!

DC RUM Community High Five Award: Ginnie W.!

DC RUM 2018 Beta refreshed!

DC RUM Community High Five Award: Travis B.!

Technical Alert: CAS/ADS not starting after installing MS patches.

NAM 2018 Service Pack 2 is available

A more intuitive RESTful Interface

Creating DMI User-defined Metrics (Custom Metrics) and ISP Mode Limitations

List of DCRUM Logs for each component - with description

Automating Site Import CSV

  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A