Getting Data In

ERROR ArchiveProcessor with zip files

johnsonlui
New Member

Hello all,

We have met this error when we try to indexing the archive files into Indexer

04-17-2014 14:01:02.292 +0800 ERROR ArchiveProcessor - Archive with path="/home/splunk/data/bom/moc/CT_STATISTIC_20140417140001.csv.zip" is being skipped since FileContentException error encountered during ArchiveCrcChecker processing. Exception details="Ran out of data while looking for end of header"

May anyone help us on that?

Thanks,
Johnson

0 Karma

woodcock
Esteemed Legend

I would try a moderately high number (100?) for time_before_close to make sure that the file is done being created (zipped) before you start to gunzip it:

time_before_close = <integer>
* Modtime delta required before Splunk can close a file on EOF.
* Tells the system not to close files that have been updated in past <integer> seconds.
* Defaults to 3.
0 Karma

ohoppe
Path Finder

Have you been able to fix the described issue? I am currently facing the same, but it is not an option to extract the files as they are produced directly as gz due to lack of disk space.

Thanks
Oliver

0 Karma

woodcock
Esteemed Legend

I am having the same problem and a I did figure out that if I modify the inputs.conf file to handle *.csv instead of *.csv.gz and then I gunzip the files, everything works. This means it is a problem with the gunzip process that Splunk is using on the forwarder. I will post a followup if I figure out what is really wrong and get it working but at least this might provide a workaround for you in the meantime.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...