# Xpack security roles

**URL:** <https://discuss.elastic.co/t/xpack-security-roles/83811>\
**Category:** Elasticsearch\
**Created:** [April 27, 2017, 7:52am UTC](https://discuss.elastic.co/t/xpack-security-roles/83811 "2017-04-27T07:52:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [April 27, 2017, 7:52am UTC](https://discuss.elastic.co/t/xpack-security-roles/83811/1 "2017-04-27T07:52:56Z")

</div>

I went through the security training course at Xpack security- elearning

Am using Elastic 5.3.1 and we have xpack package for our nodes.

I created a role with name "Test\_Role"

I gave index privelige to indice logstash-\* and priveleges read and index

and I assigned this role to "Test" user.

I tried login with Test user but am unable to access dev tools.

Then I added Kibana user role to that Test user ,am able to access dev tools but am able to access Management (Kibana 0 index Patterns ,Saved objects , reporting and advanced settings)

I totally agree why am able to see all these under managemt, since I assigned kibana user to that user.

So my question is How to create a user where he read and get the index but not the managemment view ?

Thanks in advance,Please any one help me.  
Raj

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [April 28, 2017, 8:01pm UTC](https://discuss.elastic.co/t/xpack-security-roles/83811/2 "2017-04-28T20:01:35Z")

</div>

> [@Raj\_Kumar](#):
>
> am able to access dev tools but am able to access Management (Kibana 0 index Patterns ,Saved objects , reporting and advanced settings)

Are there actually any Index Patterns and Saved Objects in the data?

What do the Elasticsearch logs show?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [April 28, 2017, 8:03pm UTC](https://discuss.elastic.co/t/xpack-security-roles/83811/3 "2017-04-28T20:03:27Z")

</div>

Also, if you want this user to be able to create reports, see the documentation on [https://www.elastic.co/guide/en/x-pack/5.3/secure-reporting.html](https://www.elastic.co/guide/en/x-pack/5.3/secure-reporting.html)

The user will need the `reporting_user` role as well.

---

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [April 28, 2017, 8:39pm UTC](https://discuss.elastic.co/t/xpack-security-roles/83811/4 "2017-04-28T20:39:04Z")

</div>

Hi Sullivan,

Thank you for the reply

Are there actually any Index Patterns and Saved Objects in the data?

I didnt get it ,sorry any example

You mean index templates ?

if thats the question i have a customised logstash template like geo point for geoip's for creating tile map

My elasticsearch logs

[2017-04-28T22:53:10,447][DEBUG][o.e.a.b.TransportBulkAction] [ca\_1] failed to execute pipeline [xpack\_monitoring\_2] for document [.monitoring-es-2-2017.04.28/shards/3W5zo25zT-GGIGqxBidvHg:xJDkfvVcRVSWW-u2\_JQyRg:logstash\_cisco-2017.04.15:3:p]  
java.lang.IllegalArgumentException: pipeline with id [xpack\_monitoring\_2] does not exist  
at org.elasticsearch.ingest.PipelineExecutionService.getPipeline(PipelineExecutionService.java:193) ~[elasticsearch-5.3.1.jar:5.3.1]  
at org.elasticsearch.ingest.PipelineExecutionService.access$100(PipelineExecutionService.java:41) ~[elasticsearch-5.3.1.jar:5.3.1]  
at org.elasticsearch.ingest.PipelineExecutionService$2.doRun(PipelineExecutionService.java:88) [elasticsearch-5.3.1.jar:5.3.1]  
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) [elasticsearch-5.3.1.jar:5.3.1]  
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.3.1.jar:5.3.1]  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0\_111]  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0\_111]  
at java.lang.Thread.run(Thread.java:745) [?:1.8.0\_111]  
Thanks,  
Raj

---

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [May 1, 2017, 9:45am UTC](https://discuss.elastic.co/t/xpack-security-roles/83811/5 "2017-05-01T09:45:39Z")

</div>

Hi Tsulivan,

Any idea or suggestion 🙂  
Thanks in Advance

Raj

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 29, 2017, 9:50am UTC](https://discuss.elastic.co/t/xpack-security-roles/83811/6 "2017-05-29T09:50:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
