Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

IP filtering in Apache Ranger for Kafka

New Contributor

I am trying to filter the IP's in a range in Apache Ranger for Kafka policies. If anyone has done it before, then could you please advise.

3 REPLIES 3

@Preeti Padelkar Please refer: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_security/content/kafka_policy.html

IP range can be specified in "Policy Conditions" section.

New Contributor

Hello Sandeep, Thank you for the response. I have created the policy, though I wanted to know what is the format to specify the range of the IP?

I tried with IP1-IP2 (with a dash sign in between 2 IP's), though it didn't work for me. Could you please advise on that part?

@Preeti Padelkar

Could you please try the regex something like "1.2.3.*" and see how it goes.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.