icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.
Log4Shell Vulnerability: Information and guidance for you. Get resources.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Microsoft Log Analytics Add-on (Formerly Known as OMS)
SHA256 checksum (microsoft-log-analytics-add-on-formerly-known-as-oms_103.tgz) 30fb2b7fcf6856ebab79e53fe16f70cf7bc1109ddf63a815b6e8c5566c9eb087
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Microsoft Log Analytics Add-on (Formerly Known as OMS)


This app allows you to pull data from api.loganalytics.io using the OMS / Log Analytics query language.

You will need the following before you can configure any inputs:
Resource Group
Workspace ID
Subscription ID
Tenant ID
Application ID
Application Key
Log Analytics (OMS) Query

You can find details on how to configure the items needed to pull the data found here: https://dev.loganalytics.io/

Special thanks to @dpanych for his assistance with the code.


  • Doesnt work on Universal Forwarders / Light Forwarders
  • Requires Splunk's built in Python 2.7
  • No coders were harmed in the making, just the Azure rate limiters


This will create inputs with sourcetype=loganalytics. To use this add-on install it on a heavy forwarder or standalone splunk instance. In distributed environments, you'll want to copy the props.conf settings to your search heads as well.


-Standalone Splunk Enterprise Instance: Install app via UI, configure app via UI, profit.
-Heavy Forwarder Instance: Install app via UI, configure app via UI or CLI, put props.conf on search heads, ensure your HF is forwarding to your indexers, profit.

Special Considerations

  1. This app assumes you've previously configured the Azure components needed. See https://dev.loganalytics.io/ for instructions on configuring these.

  2. Log Analytics events have a lag time until they are available. Therefore this app doesnt support real time data collection. We also coded the add-on to have a lag of 15 minutes on the collection. This means the most recent query to the API will look for data from the delta of the last check until now minus 15 minutes. This effectively makes all your Log Analytics data 15+ minutes old on arrival. You can adjust this setting in the add-on but it is recommended you do not set below 10 minutes. This is a limitation on how the data arrives at Log Analytics, and not a Splunk limitation or this app's limitation.

Changes to this setting should also consider the interval defined for the input (defaults to 5 minutes).


Be sure the python scripts in /bin are executable ("chmod +x /path/to/TA-ms-loganalytics/bin/.py")
Be sure to restart Splunk after installation
Check for errors ("index=_internal log_level=err
OR log_level=warn loganalytics*")
Contact the author via contact link here on splunkbase or by tagging @jkat54 on answers.splunk.com

Release Notes

Version 1.0.3
Sept. 2, 2018

Version 1.0.3:
- Checkpoint bug-fix
- Added TIME_PREFIX and TIME_FORMAT to props
- Fixed line break issue

Thanks to those who reported problems and those who helped solve them as well!


Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.