All Apps and Add-ons

BundleArchiver - Filtered nothing out of local.meta, but size still changed

raziasaduddin
Path Finder

I keep getting this message every few minutes for the a specific app that I haven't changed in months.

"WARN BundleArchiver - Filtered nothing out of Splunk\etc\apps\myapp\metadata\local.meta, but size still changed: original_size=122, filtered_size=117, cosmetic_bytes=0"

How can I get rid of this error?

Tags (2)

ww9rivers
Contributor

I've been getting the same WARN messages, although on a Linux search head.

In my case, I found that the "local.meta" was a Windows text file (with CR+LF at the end of each line). I did a "cat local.meta" on the Linux host's command line and then copy-n-pasted the contents to a new local.meta file.

That stopped splunkd from complaining in the splunkd.log file.

I figured out the file format using "hexdump -c local.meta" on the Linux host -- If you see "\r \n" sequences in the output, it's a Windows text file. I guess splunkd expects to see UNIX text file for "local.meta".

In my case, the "local.meta" file is distributed by a deployment server, which is Windows. Maybe "local.meta" should not have been deployed that way at all?

chans28
Explorer

In my case it was manually deployed to the HF and I couldn't see any windows carriage returns or line feeds but I still ran dos2unix on my local.meta anyways and restarted the HF and the log entries disappeared. I had to install it first. 

>yum install dos2unix
>dos2unix local.meta

 

0 Karma

aelliott
Motivator

I'm getting this Warning too many times within my log files:
WARN BundleArchiver -
Filtered nothing out of C:\Program Files\Splunk\etc\apps\maps\metadata\local.meta, but size still changed: original_size=92, filtered_size=84, cosmetic_bytes=1

WARN BundleArchiver -
Filtered nothing out of C:\Program Files\Splunk\etc\apps\sideview_utils\metadata\local.meta, but size still changed: original_size=322, filtered_size=302, cosmetic_bytes=3

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...