All Apps and Add-ons

Splunk Azure Monitor add-on installation issues ?

Hemnaath
Motivator

Hi All, I am trying to monitor the Azure activity logs, diagnostic logs and Metrics logs, when googled I came across Splunk Azure Monitor add-on and documents related to the add-on and Azure configuration was found. Based on the steps mentioned in the documents, I had configured the Prerequisites in Azure side. Similarly in Splunk side when I was trying to install the add-on, splunk was throwing an error

Unable to initialize modular input "azure_monitor_metrics" defined in the app "AzureMonitorAddonForSplunk-1.3.2": Introspecting scheme=azure_monitor_metrics: script running failed (exited with code 1)..

To fix this, followed the below steps mentioned in this link, as per this when I was trying to fix the python dependency the system was throwing this error, could you please guide me to fix this issue.

root@splunk-dev:/# pip install Markdown -q -t /opt/splunk/etc/apps/AzureMonitorAddonForSplunk-1.3.2/bin
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: Target directory /opt/splunk/etc/apps/AzureMonitorAddonForSplunk-1.3.2/bin/markdown already exists. Specify --upgrade to force replacement.  

Software details:
Splunk version : 7.3.0
Python version: 2.7.12
AzureMonitorAddonForSplunk-1.3.2

Links referred :

https://www.splunk.com/en_us/blog/cloud/splunking-microsoft-azure-monitor-data-part-1-azure-setup.ht...
https://www.splunk.com/en_us/blog/cloud/splunking-microsoft-azure-monitor-data-part-2-splunk-setup.h...

Dependency fix:
https://github.com/microsoft/AzureMonitorAddonForSplunk/wiki/Installation-on-Linux

Kindly guide me on the same to fix this issue.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...