Workbooks in Log Analytics Workspace vs Workbooks in Azure Monitor - azure-log-analytics

I can see there is a section called workbooks with same icon in both Log Analytics and in Monitor. What is the differende betwen the two?

They are the same thing, if you click the ?Help button, you will find they point to the same doc.
The difference is there are some different templates on the two pages, and if you add something e.g. the new query or metric in a new report, the one in the Log Analytics Workspace will select the values related to the workspace, the one in the Monitor will not select the default value like below.

Related

BigQuery Error loading location is interrupting scheduled queries

A few days ago, I started receiving an error in my Scheduled Queries dashboard Error loading location europe-west8: BigQuery Data Transfer Service does not yet support location: europe-west8.
I'm in the US, so I have set all 4 of my storage buckets are set to US or REGION, and have confirmed their locations.
Datasets are all US:
Scheduled queries are all Region "us"
Since this error started, my BigQuery Scheduled Queries that append data to tables have stopped running.
Where can I change the setting that seems to be calling europe-west8?
You need to check the region of the dataset you are using. The destination table for your scheduled query must be in the same region as the data being queried.
You can see the scheduled queries are supported in these locations here.
You specify a location for storing your BigQuery data when you create a dataset. After you create the dataset, the location cannot be changed, but you can copy the dataset to a different location, or manually move (recreate) the dataset in a different location.
You can see more information about how locations work in BigQuery here.
EDIT
This is a known issue from BigQuery UI, and the engineering team is aware of and is working towards a solution, although so far there isn't a specific ETA. Feel free to start the issue to raise further awareness towards it.
There are two possible workarounds you can try to circumvent this.
More specifically,
Workaround#1
Using the old UI, you can do it by clicking on "Disable editor
tabs".
Workaround#2
In Scheduled Query Editor > click the SCHEDULE dropdown > choose "Enable scheduled queries".
The overlay shows up with the message box ("Enable scheduled queries").
Click anywhere on the screen to close the overlay
Click the SCHEDULE dropdown again, and the create/update options are there.
If you are running schedule queries check that the processing location is set to the location of your data source and the destination table is also correct.
Checking the docs about setting a query location.
https://cloud.google.com/bigquery/docs/scheduling-queries

Is there a way to see source file in splunk search.?

As part of our work, we need to index our client's configuration files into splunk and prepare reports on them for them. We need to reports in splunk similar to their existing reporting framework, we need to allow users to view specific configuration files and they might compare two different files or perform diff etc.
I would like to see if there is a way to view the whole file in pop up window in splunk search.? If it is not already defined, could you please provide me the way to achieve it.?
Depending on the version you use, there is a down arrow by each log entry. Click that and then click "Show Source". you can view the source that way.
or, you can change the query so that source="path/to/source.log" to see all the log entries from that source file.

How can multiple users run macros on a shared excel file?

I have an excel file on shared location where multiple users (4 in this case) are accessing the file at the same time.
This file has a “Master data” tab where all the base data is there and then there are 4 identical tabs (one for each user).
Each user tab has a set of filters using which the user will be able to extract relevant data based on the filters selected and can add or edit the rows. Once the user is done editing/adding rows, user will submit the data which will get updated/appended in the master data tab.
Users can select same or different options in the filters. I am facing errors when multiple users click on the submit button (macro) at the same time.
How can I resolve this?
Like some comments say, Excel is not designed for this...
But if you want to use Excel, i would recommend something like this:
Every time someone writes in the master data, you have to "lock" the master data tab. Just put a boolean in a cell, set it to true while you are writing and back to false as soon as you finished altering the master data tab.
Now, if someone wants to change values in the master data tab at the same time, check if the boolean is set to true. If yes, then you have to wait, if not, you can write the data.
Adding to Manuel Allenspach's response, my suggestion is to create a queue.
Queue should have a spot for user processing and other spots for users waiting.
Than, before running code, you should include a check to make sure no two users have their macros updating database at same time.

Interactive editable spreadsheet in Google Docs

I have created a spreadsheet in google docs. The spreadsheet takes some input, calculates some results, and displays the results numerically but also as a graph.
I would like to publish this spreadsheet, so that anyone can input and get the results and the graphs. I tried the Publish to the Web option (from File Menu), but the spreadsheet becomes static (no calculations possible on new values)
I tried the Share option. However when choose anyone can view the spreadsheet is not interactive. When i choose the anyone can edit option the file is usable, but my concern is that if I publish this on the internet and 2 users want to calculate simultaneously based on different values it will mix things up.
Is there anyway to accomplish what I require without setting up a website or programming in Javascript? I do not need to protect any of the calculation routines, I only require that the spreadsheet starts everytime with the default settings, the edits are not saved and the spreadsheet is interactive.
Seems like you may want to publish your Google Sheet as a template. Doing so will let strangers "deploy" a copy of your spreadsheet, for their own use (and without conflicting with other web users).
Google Docs template gallery
Instructions for submitting a template
Caveat: Until Google adds support for publishing "new" Google Sheets as templates, you'll likely want to submit a spreadsheet in the "old" format.
I might suggest using Protected Ranges.
https://drive.googleblog.com/2012/08/lock-down-cells-with-protected-ranges.html
Basically locked cells and you should be the only one able to manipulate the locked cells to you can freely set the page to be editable.
You can also specify the Range of cells that you wish to use when embedding. (See the publish options).
These two methods should help you with your project.

Updating chart of accounts list in OpenERP

I want to install new chart of accounts. I managed to install it without errors, but it doesn't appear in chart of accounts list to choose from. Do I need to add a link to my chart of accounts in account module somewhere for it to recognize or do I need something else?
I can see that module from second chart of accounts list. What I mean is first when I get to choose from chart of accounts lists which one I want to use, I can't see my chart of accounts, but if I choose any other chart of accounts and get to second window, where I have to choose company, set taxes etc. I can then see second chart of accounts list, which shows installed chart of accounts list. And then I see the one I chose and also my chart of accounts. And then if I choose my chart of accounts, I get error that tax names should be unique. I think that is because previous chart of accounts was generate. If I close that window, I can see in configuration that both chart of accounts were generated.
If you want your module to appear in the list of available Chart of Accounts on the first Accounting wizard, make sure you have properly set the module category to Localization/Account Charts in the manifest (__openerp__.py).
It's a very good idea to get inspiration from existing Charts of Accounts, for example l10n_be. Have a look at an existing manifest to see the exact syntax/spelling to use.
However it's not clear that this will solve your problem, because this wizard does not do what you think it does. There are 2 main accounting configuration wizards in the 6.0/6.1 OpenERP series:
"Install your Chart of Accounts": this first wizard has 2 purposes: install an appropriate Chart of Account module, and generate the fiscal year and fiscal periods for the selected company. It will let you install any of the modules that belong to the Localization/Account Charts category, and will let you configure the fiscal periods for one of the companies that have no Chart of Accounts installed yet. This wizard does not actually configure or create a Chart of Accounts, it only install a module and the templates that come with it.
"Generate Chart of Accounts from a Chart Template": this wizard finishes the job started by the first one, by actually creating a full Chart of Accounts for the selected company, using one of the installed templates (coming from installed localization modules). You'll see your Chart of Accounts available in this wizard as soon as your module is installed. This wizard should only let you configure a Chart of Accounts for companies that don't have one yet, because you cannot do that twice for the same company.
If you get an error about duplicate taxes while running the second wizard, it should not be directly related to running the first wizard or not. Perhaps you really have defined several Tax Templates with the same name in your Chart of Accounts, or perhaps you have created taxes manually for the same company, and they now conflict with the ones in your Chart of Accounts? There could be many different reasons, it's difficult to tell without more info.
In any case, double-check your module using l10n_be as an example, and make sure you read the official documentation for writing Chart of Accounts modules, if you did not read it yet.
And when you don't understand something, remember that OpenERP is open source, so use the Source, Luke :-)
The source code of the first wizard is here and the one for the second wizard is there. A look at the source would answer your current question, and probably your future questions too :-)
Your chart probably doesn't appear during the initial configuration because your module hasn't been installed yet. You might be able to skip the configuration of a new database, install your module, and then run the configuration.
Another option might be to install the minimal or generic chart of accounts during configuration. Is there a "None" option? After that, you can install your own module that includes all the extra accounts and taxes that your company uses. I think that's what we did, but it was back in version 5, so things may work slightly differently now.
Finally managed to solve this problem. When I changed taxes names to be unique (payable and receivable VAT names were the same) and changed close_method to unreconciled on some account types, because openerp requires to use it, now I managed to successfully install it and I can see it on chart of accounts list.