All Apps and Add-ons

Modular input using my Python library is not working an am stuck. Ideas on how to debug?

michaelQumulo
Explorer

Hello

I'm trying to create a modular input for Splunk for our product, Qumulo clusters (qumulo.com/products/qumulo-core/). We have a REST API that exposes data about our storage clusters and some of our customers want to explore and manage information about their clusters using Splunk.

I've created (with Damien Dallimore's help) a first version of a modular input which you can see here (it is public and on GitHub):

github.com/Qumulo/qumulo_splunk

It loads into Splunk Enterprise with no problems/errors/warnings, but I see no data for my modular input or Wcript in splunk (my script is $SPLUNK_HOME/etc/apps/qumulo_app/bin/qumulo.py on my machine).

I ran

../../bin/splunk cmd python qumulo_app/bin/qumulo.py —scheme

and the scheme looks OK to me (from a naive perspective at least -- no errors) and when I run a Splunk search like this:

index=_internal ExecProcessor error qumulo.py

I don't see any meaningful results. I've added some logging.error debug messages to my script too... where do those messages get logged? Not seeing those either.

So I'm a bit stuck. Any pointers welcome. If there are other support channels I should try, pls mention that too (I'm new to Splunk integration, obviously ;)).

Thanks - Michael Murray / mmurray@qumulo.com

0 Karma
1 Solution

snowmizer
Communicator

This command came from a presentation that was given at .Conf last week. It may help you testing....modify to fit your module names.

splunk cmd splunkd print-­‐modinput-­‐config

| $SPLUNK_HOME/bin/splunk cmd python

View solution in original post

0 Karma

michaelQumulo
Explorer

Problems solved, thanks for help. Our modular input app is now available:

https://github.com/Qumulo/qumulo_splunk_app

Also via Splunkbase.

0 Karma

snowmizer
Communicator

This command came from a presentation that was given at .Conf last week. It may help you testing....modify to fit your module names.

splunk cmd splunkd print-­‐modinput-­‐config

| $SPLUNK_HOME/bin/splunk cmd python

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!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...