$ sudo /usr/share/logstash/bin/logstash-plugin install logstash-input-azureblob
Using bundled JDK: /usr/share/logstash/jdk
Validating logstash-input-azureblob
Resolving mixin dependencies
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
date (>= 0)
Available/installed versions of this gem:
- 3.3.4
- 3.3.3
WARN: Clearing out unresolved specs. Try 'gem cleanup '
Please report a bug if this causes problems.
Installing logstash-input-azureblob
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "faraday":
In Gemfile:
faraday (~> 1)
logstash-input-azureblob was resolved to 0.9.7, which depends on
azure (~> 0.7.1) was resolved to 0.7.10, which depends on
faraday (~> 0.9)
0.9.7 dates to Feb 2017. If I am reading things correctly it uses an API that predates Blobs being GA, and the input was completely rewritten using a different Azure API a few months later. There have been minor updates to the code since, but it has never been re-released. It's not supported by Elastic and does not appear to be supported by anyone else either. Don't use it.
Thank you for the response. I am trying to get Azure Flow Logs, which are stored in Azure Blob Storage, into Grafana Loki. Microsoft recommends using Logstash with Azure Blob as an input and Loki as an output. Loki Plugin installs (very old there too), but Azure Blob does not.
I'm trying to paste the link here, but getting an error trying to do that. The Microsoft Documentation recommending this setup is called " Manage and analyze network security group flow logs using Network Watcher and Grafana" 05/31/24
That tells you to install logstash 5.2.0, which also dates to early 2017, and it would not surprise me if the azureblob input worked with that. (Although it may not, I don't know if Azure still supports the old API that the input uses.)
However, if you run logstash 5.2, which is years beyond EOL, you will also need to run EOL versions of the rest of the elastic stack. I'm not saying it cannot be done, but I do not recommend it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.