I find myself using the Kusto query language (KQL) via Azure Log Analytics, and I'm struggling to find a way to get any sort of detailed execution report or query plan.
In PostgreSQL I'd use EXPLAIN to produce a report on how the DBMS intends to execute the query, or EXPLAIN ANALYZE for a report on how a query actually got executed. Is there anything akin to that in KQL?
Searches for "kql query plan", "kusto explain query" etc have been largely fruitless, but this probably just means I don't know the right terms.
Supporting the suggestion provided by David דודו Markovitz and posting that as an answer to help the other community members who are having the related discussions.
Yes I do agree that Log analytics has many limitations and we can't link or query log analytics from ADX web UI.
Here are the few documents related to Log Analytics and it's limitations.
Related
How do we display the query plan executed by Google Cloud BigQuery if it is available?
Thanks.
Regards,
You can explore Execution details tab of the Query results. The tab explains query plan besides including some additional information like query execution time, slots consumed etc.
For more details you can refer https://cloud.google.com/bigquery/query-plan-explanation?hl=en_US&_ga=2.267980487.-856640327.1563816458.
I've been having a very hard time using SPL to query data in Splunk... I wish to replace all of that with some simple SQL, Is that possible ? If so how ?
I don't want to pay a lot just to get Splunk training... would rather use my SQL skills :)
Hope you all agree and can help me find a solution !
Cheers!
It is not possible to use SQL to query data in Splunk. Introductory training in Splunk's query language is free. Go to https://www.splunk.com/en_us/training.html, click on "Free Courses", and select "Free Splunk Fundamentals 1".
Splunk as a manual to help SQL users transition to SQL. See https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/SQLtoSplunk.
For general help with searching in Splunk, see https://docs.splunk.com/Documentation/Splunk/7.3.0/Search/GetstartedwithSearch.
I'm actually working on a connector between Apache Drill and Splunk that will enable you to execute SQL queries against a Splunk installation. The code hasn't been committed to Drill yet but you can view the pull request here 1. Here is a link to the documentation 2.
I need to build a kibana like dashboard over a sql database. Is this possible? or is there an alternative as easy as kibana (in term of integration) for sql?
Siren ( http://siren.io ) is an extended Kibana which has support for connecting directly to SQL (or other APIs) and create filters and analytics.
Check it out
There is a blog about how to index SQL databases in Elasticsearch here:
http://blog.comperiosearch.com/blog/2014/01/30/elasticsearch-indexing-sql-databases-the-easy-way/
Once you get it indexed, you can set up your Kibana to view your data.
You can also find more options suggested here:
http://community.spiceworks.com/topic/377151-generate-a-dashboard-from-sql-database
this could be an alternative for you- https://github.com/KPIWatchdog/DBconnector
creates an API to the tool where you can create queries, visualise data, prepare dashboards and share to others. Depending on the number of metrics, you can opt for free plan or small monthly fee.
I'm looking for a product that can be placed into an ASP.NET page which will allow users to build their own queries to produced a data set, of which they can create their own reports/charts/graphs based on the data set.
I've looked into EasyQuery.NET, which has a query builder similar to what I'm looking for, but it does not have charting abilities. I've also seen SiSense's product, which allows users to build their own queries and create reports/charts/graphs based on the results, but it is too expensive for me.
Any suggestion would be greatly appreciated!
Rusty
You can use SQL Server Reporting Services and in particular, Report Builder to allow your users to not only view reports, but also create their own, subscribe to them, etc.
Charting is one of the capabilities of the Report Builder see this TechNet article, for example.
Hi I have a web application with nhibernate talking to the database.
The application is running very slow due to lot of chatty db calls that nhibernate is doing.
I want to run a profiler or something similar that can give some stats example
number of db trips.
table names and times accessed.
I saw one of the products called nhprof . I am wondering if there is something open source or free available out there or some other technique that i can use to meet the goal here.
Edit: I am using SQL Server 2005 .
If you just want to know the 2 things you mention, you can create a log4net appender to find the information you want. I use a http module that adds the query information to the html in a web application when running in debug mode. If you want real statistics or more information than in the example, nhprof might be worth the money.
The NHibernate statistics are available as ISessionFactory.Statistics and ISession.Statistics. For the basic stats you describe, this
That said, NHProf does more and is well worth the price.