Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Add Humio-datasource plugin #783

Merged
merged 1 commit into from
Dec 8, 2020
Merged

Add Humio-datasource plugin #783

merged 1 commit into from
Dec 8, 2020

Conversation

AlexanderBrandborg
Copy link
Contributor

Initial version of Humio datasource plugin.

Instructions for test:

  1. Create a free account on https://cloud.humio.com/
  2. Under profile go to your account
  3. Copy API token
  4. Create Humio Datasource in Grafana by using https://cloud.humio.com/ as the url and by pasting the API token you just copied.

This should create a datasource with 3 repos, where humio-metrics and humio-audit have data.
General instructions for use can be found in the docs: https://docs.humio.com/integrations/send-humio-data/grafana/
You'll need to use some Humio queries to fetch some data for the panels. The docs for the query language can be found here: https://docs.humio.com/query-functions/

@marcusolsson
Copy link
Contributor

Thank you! I will get started on reviewing this. In the meantime, could you have a look at the issues reported by the plugin validator (just enter the URL to the ZIP file and press Enter).

@marcusolsson marcusolsson added submission/new Submission is a new plugin type/datasource Categorizes the submission as a data source signed labels Nov 18, 2020
@marcusolsson
Copy link
Contributor

Looks like it works as intended! I think I happened to stumble upon a bug though. Probably because of an invalid query.

Screen Shot 2020-11-18 at 15 40 52

Nothing stopping from publishing it though, unless you want to fix it first.

One minor comment that I'd appreciate if you updated is that the directory in the packaged plugin archive should have the same name as the plugin ID. Would you mind renaming the directory and uploading the new archive?

@AlexanderBrandborg
Copy link
Contributor Author

Thank you, I'll have a look at fixing up these issues in the following days.

@marcusolsson marcusolsson added milestone/needs-changes Submission needs changes before it can be approved and removed signed labels Nov 26, 2020
@AlexanderBrandborg
Copy link
Contributor Author

@marcusolsson
I've done a few bug fixes and updated the directory name, which have been rolled a new version (3.2.0). So everything should be in order and you have the go-ahead from my side. :- )

@marcusolsson
Copy link
Contributor

Published! 🎉

@marcusolsson marcusolsson merged commit c1f8a7f into grafana:master Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
milestone/needs-changes Submission needs changes before it can be approved submission/new Submission is a new plugin type/datasource Categorizes the submission as a data source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants