Getting Data In

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

jeffland
Champion

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
Champion

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
Champion

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

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.