Getting Data In

Not able to upload a file to splunk, getting oneshotwriter error?

Harish
Observer

Hi Team,

I am not able to upload a local log file to my local Splunk getting below error in splunkd.log

OneShotWriter failed to insert data to parsingQueue. Timed out in 5000 milliseconds.

can someone please help me with this.

Thanks

0 Karma

Harish
Observer

I have tried uploading the file in two ways


1. GUI : In Splunk web UI, I have selected Add Data -> File Upload -> Browse -> File [Not working got the above mentioned error in log]

2. Command : try to upload using below commands
     1. ./splunk add oneshort <file-path> -index <index name>  [No luck here as well]

     2. Added file to splunk spool folder and tried below command
           ./splunk spool <file-path> -index <index-name> [No luck either]

0 Karma

Harish
Observer

And getting this error message continuously in logs

Missing or malformed messages.conf stanza for TCPOUT:FORWARDING_BLOCKED___default-autolb-group_CSLTP-069_10

Thanks

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Harish,

are you speaking of upload using GUI or input?

if using GUI probably your file is large or there's a slow connection (or both!) and the connection timeouted.

if using input, could you share your input?

Ciao.

Giuseppe

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...