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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...