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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...