python plugin for Kusto in Log Analytics and Sentinel

%3CLINGO-SUB%20id%3D%22lingo-sub-959021%22%20slang%3D%22en-US%22%3Epython%20plugin%20for%20Kusto%20in%20Log%20Analytics%20and%20Sentinel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-959021%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22header-block%22%3E%3CSPAN%20class%3D%22ai-tip-tests-error-message%20ng-binding%22%3EI%20want%20to%20use%20the%20python%20plugin%20within%20the%20Kusto%20query%20language%20within%20Log%20Analytics%20or%20Sentinel.%20As%20explained%20in%20the%20docs%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22header-block%22%3E%3CSPAN%20class%3D%22ai-tip-tests-error-message%20ng-binding%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fkusto%2Fquery%2Fpythonplugin%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fkusto%2Fquery%2Fpythonplugin%3C%2FA%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22header-block%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22header-block%22%3E%3CSPAN%20class%3D%22ai-tip-tests-error-message%20ng-binding%22%3EWhen%20I%20try%20to%20use%20it%2C%20I'm%20getting%20an%20error%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22header-block%22%3E%26nbsp%3B%3C%2FDIV%3E%3CPRE%3E%3CSPAN%20class%3D%22ai-tip-tests-error-message%20ng-binding%22%3ESYNTAX%20ERROR%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EPlugin%20'python'%20is%20disabled%3CBR%20%2F%3E%3CBR%20%2F%3ER%3CSPAN%3Eequest%20id%3A%200c3210e7-6c6f-429c-9232-090ea6fa0d1c%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20how%20to%20enable%20the%20python%20plugin%20for%20Log%20Analytics%20%2F%20Sentinel%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-959021%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EQuery%20Language%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-970434%22%20slang%3D%22en-US%22%3ERe%3A%20python%20plugin%20for%20Kusto%20in%20Log%20Analytics%20and%20Sentinel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-970434%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F434653%22%20target%3D%22_blank%22%3E%40Ruben1975%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENot%20all%20plugins%20available%20for%20Kusto%20language%20(Azure%20Data%20Explorer)%20are%20available%20for%20Log%20Analytics%20as%20well.%20As%20this%20one%20is%20also%20in%20preview%20it%20may%20be%20the%20case%20that%20it%20needs%20to%20be%20GA'd%20before%20being%20released%20to%20Log%20Analytics.%20My%20advise%20is%20to%20log%20this%20request%20to%20Log%20Analytics%20user%20voice%20so%20potentially%20to%20get%20official%20statement%20from%20Microsoft.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
I want to use the python plugin within the Kusto query language within Log Analytics or Sentinel. As explained in the docs:
 
When I try to use it, I'm getting an error:
 
SYNTAX ERROR

Plugin 'python' is disabled

Request id: 0c3210e7-6c6f-429c-9232-090ea6fa0d1c

 

Does anyone know how to enable the python plugin for Log Analytics / Sentinel?

 

 

1 Reply

Hi@Ruben1975 

Not all plugins available for Kusto language (Azure Data Explorer) are available for Log Analytics as well. As this one is also in preview it may be the case that it needs to be GA'd before being released to Log Analytics. My advise is to log this request to Log Analytics user voice so potentially to get official statement from Microsoft.