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.
This app assumes you've previously configured the Azure components needed. See https://dev.loganalytics.io/ for instructions on configuring these.
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
- 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!
Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 50GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.