Where does graylog save dashboard / widget design? - graylog2

I want to backup the design of my graylog dashboard and specific widgets. Where does graylog store them?

It is stored in mongodb. You can have a look at the architecture here
Here there is a link to the detailed architecture. look at the 8th slide. It shows that all the metadata related to dashboards are stored in mongodb
Hope this helps

Best way to backup dashboard is to use Content Pack. Create your own content pack select desired dashboards, and it will create json extract, which you can use as backup. You can than use content pack to import dashboard to same or another instance of graylog.
https://docs.graylog.org/en/3.3/pages/content_packs.html

Related

Dynamic Cognos screen tip and description?

Is it possible to update the screen tips and descriptions of fields in Cognos Analytics 11.0.8 dynamically? We want to have a Data Definition Catalog and use it to update Cognos. The only methods I can find are fairly manual, including BPS Meta Manager.
Look at the steps to integrate InfoSphere Business Glossary into Cognos. I haven't done it, but I've heard people say that the configuration steps can be used for other catalogs, besides the InfoSphere product.
Since the configuration is just a URL, you could point this to a web server you control. Then use the web server logs to identify what Cognos appends to the URL or posts to the URL to identify the field.
https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_cra.doc/t_configure_business_glossary.html#Configure_Business_Glossary

How to create multiple dashboards in OMS?

I keep on reading hints that there should be a way to create multiple dashboards in OMS (maybe even with different user access rights), but I really can't find how to add them.
All I see is the designer to add, adjust und remove tiles from the one default dashboard.
Can someone clarify if it's indeed possible to create multiple dashboards and if yes how?
Here is one possible reason why you may not be getting that option.
If your workspace has been upgraded to the new Log Analytics query language, then you cannot create new dashboards or edit existing dashboards.
https://learn.microsoft.com/en-us/azure/log-analytics/log-analytics-dashboards

How to export my Hybris website?

I've read the hybris wiki but I wasn't able to find any related information...I have made a website in one hybris platform on localhost, and now I need to get all the content, products, pages, etc and import it in another platform. Do you have any idea how to do this?
Thanks!
You can export your data by writing Export Script.
Creating Headers for Export
Log into the hybris Management Console.
Navigate to System > Tools > Script Generator.
In the Wizard: Script Generator, click on the Advanced Settings tab.
Clear the Document ID check box.
Switch back to the Script tab.
Select [y] hybris MigrationScriptModifier from the Script modifier drop-down menu.
Click the Generate button.
The Script Generator writes the headers for all types in the hybris Commerce Suite into the Script field.
Copy and paste the list of headers into a text editor.
Remove the headers for the types you do not want to export.
Here are the list of some examples ->
Export CMS Content
Users and Addresses
Catalog Version Content
Classification System
For More Information on How to run Export in different ways, Follow this link Impex - User Guide
Quick and dirty db dump:
If you're not worried about overwriting existing data on the other platform, you could simply copy the database over. More than likely you will also need to copy the hybris/data folder, or you'll have missing media references. If you're using MySQL you can use the mysqldump utility. This is the quick easy way if you just need to stand up a UAT environment, for example.
Impex export
The better way would be by creating impex scripts that will export all the items needed. On the hybris wiki, search for "Data Exporter", which is a page containing a link to an HMC extension called advancedexport. It will allow you to set up your export more easily.
There are two scenarios :
1 - You have made all the website configuration by impex files and therefore you will just need to initialise your system on the new platform
2 - You have done all the website configuration manually
If you are running the exact same Hybris version and code, then exporting / importing the data is possible
If you are not running exactly the same platform, then it becomes tricky, you could either use import export functionality (good examples here) or try to generate Jinja templates for each item type (example here)
Another good option for you here will be to use the Hybris-to-Hybris Synchronization which will allow you to transfer all your data by taking advantage of Data Hub. This is a very good solution in cases where you want to keep a good performance in the origin system, or where you are dealing with different version of hybris. See more information on this here.

comparing sharepoint list and sqlserver table

I have a list in sharepoint which maintains particular month OnCall list,and we are maintaining employee directory in sql server. My requirement is to get complete data from sql server and show it in sharepoint and compare with sharepoint list and show small icon for the employees who are On Call for that particular Month. Can anyone please suggest me the waus of implementing this.
Thanks in advance.
Update: I have finished the part where I have to connect to the sqlserver database and get the employees information. For this we are using 3rd party web part to connect to the sql server and pull the data from the table. Now I have to show some kind of image on the employee name to show that he is on-call for that week. We are going to cretae custom list for maintaing the list of people who are on-Call. Can anyone please advise me on how to accomplish this.
Write a custom webpart which will pull the data from the list using sharepoint object model and SQL server using ADO.NET and do the said comparison.
If you were looking for out of the box, I am afraid there i too little information given here to analyze if its feasible out of the box or not.
If you have the SharePoint Enterprise version, you can look at using the Business Data Catalog. This will let you bind columns to external data sources. This might provide you with the functionality you're looking for.
If you do not have the Enterprise features, do you have access to deploy WSP packages and custom code?
You will have to write your own data access to your external data source. Your options would be to have a job that pulls data from the external data source and populates SharePoint list(s) or create a custom view that pulls the external data on-demand.
You'll have to come up with synchronization strategies. Meaning, is the data in the external SQL data source static, reference information that does not need to be updated depending on what a user does in SharePoint? This seems to be the case based on your question. If you do need to update the external data source, you'll have to hook into the on save event (so probably a custom event handler that listens for ItemAdding) to update the data, validate, and optionally cancel the operation with an error message.
If you can't deploy WSP packages / DLLs, you could take a look at the jQuery SharePoint library. This will let you interact with lists using jQuery. If you also write a WCF or Web Service wrapper around the data you need access to from your external data source that is accessible from the SharePoint environment, you can use hack together a solution.
To accomplish this you'd need to place a Content Editor Web Part on the page you need custom data access. In there you will write the code to reference the jQuery javascript library and jQuery SharePoint library. The code will have to make the calls to your external data service and make any updates you need.
This is the least reliable method to accomplish what you want since it's entirely page-based and can be broken by simply disabling script or someone editing the CEWP or removing it altogether.
If you don't have access to place a CEWP or any of the other solutions, then you have no options at all.
it relatively easy now to pull all the data using the third party webpart and saving it into a custom list. I would recommend you not only creating custom list but also creating the content types for this list. take a look at SharPoint MVP's post about creating a Custom List with Content Types

Save records in Configuration Database

I need to save some settings in sharepoint and i could access the datas from any webapplications. Shall i go for configuration database or is there any other option.
its better to go for a Custom List to save any settings regarding your project/assignment. Its not the best idea to manually query/change the configuration database. Take a look at how to create a custom list with content types. Or the other option is to go for property bags regarding the general settings for the project!
I would suggest to use property bag to store settings for details see the link attached
http://msdn.microsoft.com/en-us/library/ff798491.aspx
http://spg.codeplex.com/wikipage?title=Design%20of%20the%20Configuration%20Manager&version=3

Resources