SOLVED

Azure App Insights Log Analytics > Python Connector

%3CLINGO-SUB%20id%3D%22lingo-sub-862314%22%20slang%3D%22en-US%22%3EAzure%20App%20Insights%20Log%20Analytics%20%26gt%3B%20Python%20Connector%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-862314%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20trying%20to%20pull%20log%20data%20from%20App%20Insights%20Log%20Analytics%20with%20a%20Python%20script%20so%20that%20I%20can%20do%20automated%20robust%20data%20analysis.%20There%20is%20a%20connector%20for%20App%20Insights%20to%20PowerBI%20but%20I%20am%20having%20trouble%20finding%20one%20for%20App%20Insights%20to%20Python.%20Does%20a%20connector%20exist%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-862314%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApplication%20Insights%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-863375%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20App%20Insights%20Log%20Analytics%20%26gt%3B%20Python%20Connector%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-863375%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411488%22%20target%3D%22_blank%22%3E%40stefan_kaehler%3C%2FA%3E%20I%20am%20not%20sure%20what%20you%20mean%20by%20connector%20for%20App%20Insights%20to%20Python%3F%20Does%20not%20makes%20any%20sense.%20Python%20is%20scripting%20language%20where%20PowerBI%20is%20service%20for%20reporting%20and%20dashboarding.%20You%20can%20pull%20data%20from%20App%20Insights%20by%20using%20its%20API.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdev.applicationinsights.io%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.applicationinsights.io%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EAdditionally%20there%20is%20azure%20sdk%20for%20python%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-python%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-python%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-863628%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20App%20Insights%20Log%20Analytics%20%26gt%3B%20Python%20Connector%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-863628%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9172%22%20target%3D%22_blank%22%3E%40Stanislav%20Zhelyazkov%3C%2FA%3E!%20The%20App%20Insights%20API%20should%20work!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Hi,

 

I am trying to pull log data from App Insights Log Analytics with a Python script so that I can do automated robust data analysis. There is a connector for App Insights to PowerBI but I am having trouble finding one for App Insights to Python. Does a connector exist?

 

Thanks,

Stefan

2 Replies
best response confirmed by Stanislav Zhelyazkov (MVP)
Solution

Hi@stefan_kaehler I am not sure what you mean by connector for App Insights to Python? Does not makes any sense. Python is scripting language where PowerBI is service for reporting and dashboarding. You can pull data from App Insights by using its API.

https://dev.applicationinsights.io/

Additionally there is azure sdk for python https://github.com/Azure/azure-sdk-for-python.

Thanks @Stanislav Zhelyazkov! The App Insights API should work!