All Apps and Add-ons

DLTK - Unable to Send Sample Data to Container

mninaga
Engager

So far, I have successfully completed the following steps:

  1. I pulled the latest phdrieger/mltk-container-golden-image-cpu:3.5.0 docker image from docker hub to my laptop using Docker for Windows 10 (v20.10.2) (I have tried "phdrieger/mltk-container-golden-image-gpu:3.5.0" a number of times, but for some reason, it does not work for me...)
  2. I ran a docker container (single-mode) from DLTK 3.4 in Splunk Enterprise 8.1.2. The __dev__ container in the DLTK is running (Container Model Info: Container Image = "TensorFlow CPU (deprecated)" / GPU runtime = "none" / Cluster target = "docker").
  3. I can access the JupyterLab, TensorBoard, and API URLs without any issue
  4. I can connect to the container via the command line as well.

As the next step, I attempted to send some sample data from Splunk to the container using the search command:

| inputlookup diabetes.csv
| fit MLTKContainer response from * algo=binary_nn_classifier epochs=10 mode=stage into MyModel

(The sample search command provided in the "binary_nn_classifier.ipynb" file in Stage 1.)

I noticed that the line starting with "| fit MLTKContainer" does not work. Any command lines above "| fit MTLKContainer..." work fine. I tried a couple of other Notebooks for TensorFlow 2.0 listed Jupyter Lab in the container without any luck. All have the same issue. I always make sure that the container is running from both Splunk and Docker sides.

Please let me know what I might have missed in the setup/configuration.

Thank you.

Labels (1)
Tags (1)

landon
Explorer

I have this problem too

How do you fix this?

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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...