Menu

Is there a way to generate a report for just 10 IP Address

sarg
2016-12-09
2016-12-09
  • Fernando Estevam

    Hi, I know that i can generate a report for specific users using "include_users", but i wanna know how to do this for many different IP Address.

    Thanks,
    Fernando

     
  • Evgeniy Yakushev

    Example?

     
  • Frederic Marchal

    include_users accepts IP addresses instead of user names. Or, at least, it should if user_ip is set to "yes".

    Any IP address not listed in include_users should be excluded from the report.

    There is a hard limit on the number of characters that can be stored in include_users. It is currently limited to roughly 20000 bytes. If you really have a lot of IP addresses, the internal buffer might not be big enough.

    If you can afford to group IP addresses together in the report (for instance, by subnet), have a look at the ̀useralias option. It can group user's name (and IP addresses if user_ip is set) according to various rules including CIDR notation and regular expressions. The include_users option acts on the aliased users. So, you only have to include names from the aliased file such as "admin" or "computer pool A".

     

Log in to post a comment.

MongoDB Logo MongoDB