All Apps and Add-ons

Splunk Azure Monitor add-on installation issues ?

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
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!