All Apps and Add-ons

How can I make Splunk wait longer during an input validation by an app?

wrangler2x
Motivator

I have installed the Duo Splunk Connector (3504) App, and when I go to configure it after Splunk restarts I am running into a time out situation, summarized by these logs:

ERROR ModularInputs - Argument validation for scheme=duo_input: killing process, because executing it took too long (over 30000 msecs).
INFO ModularInputs - Argument validation for scheme=duo_input: script running failed (killed by signal 9: Killed).

Because this times out, the input.conf stanza the configuration step is supposed to create is not created, and so the app cannot do what it is supposed to do.

I'd like to extend how long Splunk waits for the remote host it is validating to be long enough for this step to complete, or to know where the Name being asked for in the configuration step is to be manually added to the configs. The other three fields are easily added, but I have no documentation on where the name goes.

mghocke
Path Finder

Were you able to find out why the validation process took longer than 30 second? What happens is that the validation process of the modular input tries to connect to the DUO API in order to make sure the credentials you provided are correct. If it takes that long you really should do some troubleshooting like telnetting to port 443 of your DUO API host from the forwarder/indexer and take it from there.

If you want to create the input for DUO on your own, here is a spec of how it looks like:

[duo_input://<name>]
api_host = <DUO API host>
ikey = <integration key>
index = <index>
interval = <interval to poll; I would suggest 300 secs as the minimum; the longer the better>
skey = <secret key>
sourcetype = json
source = duo
host = duo_api

Stash this in an inputs.conf file in local for this app or wherever you like. This will not fix your timeout problem, though. Hope this helps.

0 Karma

wrangler2x
Motivator

What is supposed to be in the <name> portion of the inputs.conf duo_input stanza?

0 Karma

mghocke
Path Finder

It's just the name of the input and it is entirely up to you. It's the same value you choose use when using splunkweb where is asks you to name the input. I always use something like "DUO" or "DUO logs".

0 Karma

shaishavshah_cr
Engager

We are facing the same issue. Can anyone help us on this issue? Looks like validation request is failing if its not completed in 30 seconds. How we can increase this time? where it is configured?

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...