Comments (8)
Sorry for the delayed response, I've been super busy this week.
About the configuration exception, you need to wrap the wildcard strings in double quotes (sorry, crappy docs kills again).
e.g.
actions: ["cluster:*", "indices:data/read/*"]
Tell me how it goes! 👍
from elasticsearch-readonlyrest-plugin.
@sscarduzio hello.my config is like this.
name: dev (read only, but can create dashboards)
type: allow
kibana_access: ro+
actions: ["cluster:", "indices:data/read/"]
auth_key: dev:dev
if i append 'actions: ["cluster:", "indices:data/read/"]', i can not login with user dev. why?
from elasticsearch-readonlyrest-plugin.
you forgot the star! it's "cluster:*"
not "cluster:"
, and the same for indices:data/read/
from elasticsearch-readonlyrest-plugin.
@sscarduzio Actually,my config is ["cluster:*", "indices:data/read/*"]
,but the view without "*",because of the editor.
And i have another question, when i started a logstash instance(output is the elasticsearch), it occurred an auth exception. What should i do with this? should i add user and password in the logstash config too?
from elasticsearch-readonlyrest-plugin.
About Logstash HTTP auth
https://www.elastic.co/guide/en/shield/current/logstash.html#ls-http-auth-basic
About the conf problem
Not sure what you wanted to do with the actions rule, but this should work for a kibana admin and a logstash reader.
readonlyrest:
enable: true
response_if_req_forbidden: Sorry, your request is forbidden.
access_control_rules:
- name: RW Kibana
type: allow
kibana_access: rw
auth_key: admin:passwd3
- name: dev (read only, but can create dashboards) for logstash indices
type: allow
kibana_access: ro+
auth_key: dev:dev
indices:[".kibana*", "logstash*", "default"]
from elasticsearch-readonlyrest-plugin.
BTW good point about logstash, I added to the README example 2
from elasticsearch-readonlyrest-plugin.
Question 1:
when i append ["cluster:*", "indices:data/read/*"]
in my elasticsearch.xml, i can not login with the appiont user.
Question 2:
user => "logstash" password => "logstash"
when i append the config in my logstash output, it still shows [401] <h1>Forbidden</h1>
.
you should debug by yourself first.
from elasticsearch-readonlyrest-plugin.
Please see the updated, tested example 2. It needs the latest plugin version 1.9.3 (see download link in the README.md as well).
IMPORTANT: read again the instruction, I included a note to this bug which was making my Kibana go in a code 401 loop:
elastic/kibana#2814
from elasticsearch-readonlyrest-plugin.
Related Issues (20)
- Does this work on ES 7.10.0? HOT 2
- Support for certificates in PEM format, in addition to keystore format HOT 3
- despite force_load_from_file=true, ROR plugin tries to load .readonlyrest index HOT 2
- Kibana Short url creation not recognised on Kibana 7.8.1 HOT 4
- When user access a forbidden resource, the user cannot access to kibana dashboards in 7.5.1 HOT 3
- Can't Update Kibana to 7.12.0 with ROR enabled HOT 6
- Curator can't create backup with ROR enabled HOT 7
- 请问配置更新有api吗? HOT 3
- Potential security issue HOT 7
- elasticsearch7.15.1 安装后启动报错
- Why are 403 response codes sent while ROR plugin isn't initiated? HOT 5
- No Tag in Github for Version v1.39.0-pre4_es7.17.3 HOT 4
- Indices rule not working for data stream ES 7.17 HOT 11
- How configure in docker compose with this plugin HOT 3
- Unable to make field private static final java.util.Map
- kibana_access is not working (_bulk_resolve are blocked) HOT 12
- Error while installing ror plugin inside docker container HOT 2
- Unable to connect to LDAP server HOT 2
- Can't able to authenticate with LDAP HOT 14
- Kibana ::1:<port> ECONNREFUSED HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-readonlyrest-plugin.