> On April 3, 2019, 6 a.m., Ramesh Mani wrote: > > agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java > > Lines 286 (patched) > > <https://reviews.apache.org/r/70340/diff/2/?file=2136806#file2136806line286> > > > > <field name="agentHost" type="key_lower_case" multiValued="false"/> > > is already solr schema, could you please review this and use it in the > > UI for filtering?
using existing field 'agentHost' in latest uploaded patch - Nikhil ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70340/#review214298 ----------------------------------------------------------- On April 12, 2019, 7:41 p.m., Nikhil P wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/70340/ > ----------------------------------------------------------- > > (Updated April 12, 2019, 7:41 p.m.) > > > Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, > Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and > Velmurugan Periasamy. > > > Bugs: RANGER-2382 > https://issues.apache.org/jira/browse/RANGER-2382 > > > Repository: ranger > > > Description > ------- > > In Audit Page > > Access tab: > Add ‘agentHostname’ column to audit log table, which records > IP-address/hostname of the plugin. Having this field in audit UI can avoid > having to scan all the hosts. > > > Diffs > ----- > > LICENSE.txt 7aa4bf4 > > agents-audit/src/main/java/org/apache/ranger/audit/destination/SolrAuditDestination.java > 80a6d9e > > agents-audit/src/main/java/org/apache/ranger/audit/provider/solr/SolrAuditProvider.java > ee95800 > agents-common/pom.xml 4486af3 > > agents-common/src/main/java/org/apache/ranger/plugin/audit/RangerDefaultAuditHandler.java > 4421442 > > agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTUtils.java > 65f5c01 > pom.xml 2a45f8b > security-admin/src/main/java/org/apache/ranger/rest/AssetREST.java ce577e0 > > security-admin/src/main/java/org/apache/ranger/service/XAccessAuditService.java > 6687b19 > > security-admin/src/main/java/org/apache/ranger/solr/SolrAccessAuditsService.java > cf2a3b4 > security-admin/src/main/java/org/apache/ranger/view/VXAccessAudit.java > 7b63a63 > security-admin/src/main/webapp/scripts/modules/globalize/message/en.js > d4d87d7 > security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js daf6924 > security-admin/src/test/java/org/apache/ranger/rest/TestAssetREST.java > ef149d5 > src/main/assembly/admin-web.xml 06ba8c4 > src/main/assembly/hbase-agent.xml fa79283 > src/main/assembly/hdfs-agent.xml add00e6 > src/main/assembly/hive-agent.xml 4f80a95 > src/main/assembly/kms.xml 17d6786 > src/main/assembly/knox-agent.xml 9e30c4f > src/main/assembly/plugin-atlas.xml 73b624b > src/main/assembly/plugin-elasticsearch.xml 41f73a3 > src/main/assembly/plugin-kafka.xml ca50e6b > src/main/assembly/plugin-kms.xml f3473b3 > src/main/assembly/plugin-kylin.xml 87a8154 > src/main/assembly/plugin-solr.xml 16a0696 > src/main/assembly/plugin-sqoop.xml 7ce714b > src/main/assembly/plugin-yarn.xml 04d252e > src/main/assembly/ranger-tools.xml 03d58bf > src/main/assembly/storm-agent.xml 0e1e946 > src/main/assembly/tagsync.xml 985b99a > src/main/assembly/usersync.xml 9e6a882 > > > Diff: https://reviews.apache.org/r/70340/diff/4/ > > > Testing > ------- > > 1)verified if ‘agentHostname’ is getting added in solr and also getting > displayed on Ranger UI -access audit page. > 2)verified agentHostName shows destination of agents. > > > Thanks, > > Nikhil P > >