I want to know how I get user information from liferay table in elasticsearch panel.Suppose I have created two users in liferay and reindex user entity then i want to get those data.Is there any way to get those user from elasticsearch panel located localhost:9200.My elasticsearch running in embedded mode.
I'm on my phone but I believe going into the search portlet's configuration and choosing to see results in document mode will give you what you're after.
Then search for the user and expand it's document view in the search results list.
Edit to add:
Click the options menu on the search portlet (kebab icon).
Click the Configuration option.
Click the Other Settings tab.
Choose Display Results in Document Form.
Search for a user.
Click Details... in the search results.
Edit again:
http://localhost:9200/liferay-20116/_search?q=screenName:wmozart
Gets you the document as well. My example is running ES on localhost:9200, the index name is liferay-20116 (leave it out to search all indices), and my user's Screen Name is wmozart.
Related
I configured the space to only show Dashboard but the main Kibana screen is shown as well as the Management menu. How to make the main screen the Dashboard and the Management menu is no longer shown? thanks!
Kibana Home Screen:
Kibana Dashboard Screen:
Kibana Management Menu:
I got no "pro" solution for this as Spaces features are not very mature yet.
I use a little hack.
I create a user with minimal roles on one space and read on visualizations and dashboard in this space.
In my source app (website, intranet, etc...) I give the embedded link to a dashboard.
The url looks like this
/s/public/app/kibana#/dashboard/ab025da0-662a-11ea-9a69-7dafd55380b9?embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-90d,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),timeRestore:!t,title:'Covid19%20-%20Dashboard%20(powered%20by%20Spoon%20Consulting)',viewMode:view)
Take the link from the iframe code and you'll have a clear dashboard without any header.
It's not secure at all. A user just have to clean up the url to have the home and access to the menu (but only with the rights his profile have)
But for most internal cases it do the job.
I have created one dashboard based on query, but now I need to add link to it.
Consider below scenario :
In above image, you can see API name(underlined in red) are needs to be a hyperlinked, so that if user clicked on it, it should redirect to Discover page & run query as APINAME = "ping1"(the one which we clicked)
I don't know whether it is possible or not, atleast I didn't found any such document.
This is forum link that will help to create an hyperlink on kibana dashboard.
I am using kibana 6.4 to visulaize the data.
In dashboard page how to hide the side menu by default.
Any Suggestions?
You need to enable elasticsearch/kibana security first:
https://www.elastic.co/guide/en/elasticsearch/reference/7.4/configuring-security.html
and then create a user with the role kibana_dashboard_only_user. Here how to do it:
https://www.elastic.co/blog/kibana-dashboard-only-mode
I added in my phpBB 3.1.3 forum a custom profile field which has to be filled in if someone registers on my forum. I want that this field can be seen only by administrators. Therefore, I checked the following options:
I also require that newly registered users have to be activated by an administrator. Whether a user gets activated depends on the text that he puts into his profile field. However, the profile field does not appear in the inactive users list in the ACP, nor does it show up if I click on the user. How can I find the custom profile field for inactive users?
In the top right drop down box that is currently showing Overview change this to Profile and hit Go. This will show custom profile fields at the bottom of the page.
I cann't load saved dashboard. At browser console I see:
GET http://localhost:9200/kibana-int/dashboard/Your%20Basic%20Dashboard?1422529331315 404 (Not Found)
But at Elasticsearch folder I have kibana-int index. How to delete all my saved dashboard, open in browser start page and create new dashboard. Now at browser I see:
there is a .kibana index (unless you have modified the kibana.yml file to specify a custom name for the index). Within the .kibana index, there are separate types - search, index-pattern, dashboard and visualization.
All of your dashboards will be saved within the .kibana/dashboard index/type combination. that said, to create a default dashboard view looks at the response to this question : How to make our customised dashboard as default dashboard on kibana