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!

Automated Threat Analysis: Available in ES Premier

Automated Threat Analysis: Centralize and Accelerate Phishing Investigations in Splunk Enterprise ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...