Getting Data In

Why do I get a timeout when trying to package my app?

jeffland
SplunkTrust
SplunkTrust

I've created an app and wanted to package it before shipping it to another splunk instance. From the console, I entered

./splunk package app app_name

But after a while, I get

Socket error communicating with splunkd (error=('The read operation timed out',)), path = /services/apps/local/app_name/package

What's happening here?

0 Karma
1 Solution

jeffland
SplunkTrust
SplunkTrust

There is a lookup file in my app that is somewhat large (>100 mb) which fails the entire operation.

I removed the lookup file from the app, packaged it and placed the file separately (it has to be added manually after installing the app).

View solution in original post

jeffland
SplunkTrust
SplunkTrust

There is a lookup file in my app that is somewhat large (>100 mb) which fails the entire operation.

I removed the lookup file from the app, packaged it and placed the file separately (it has to be added manually after installing the app).

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...