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
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!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...