Dashboards & Visualizations

Why I am getting error Invalid xml detected in file default/data/ui/views/._xmlFileName.xml at line 1?

rsethi001
Explorer

 I see I don't have any ._*.xml files in my app, even though I have created a tar.gz file which excludes the local generated file.

Still I am getting the error 

Invalid xml detected in file default/data/ui/views/._xmlFileName.xml at line 1

 

Could you pls let me know what is the workaround for the same.

Thanks in advance.

Labels (1)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

You are tarring up Mac's hidden files

Before you tar, set this variable

export COPYFILE_DISABLE=true

Google search for COPYFILE_DISABLE Mac 

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

Have you created the tar file on a Mac?

when do you see this error?

 

0 Karma

rsethi001
Explorer

Yes, I have created the tar file on mac.

This error is coming while submitting my app to Splunkbase.

0 Karma

bowesmana
SplunkTrust
SplunkTrust

You are tarring up Mac's hidden files

Before you tar, set this variable

export COPYFILE_DISABLE=true

Google search for COPYFILE_DISABLE Mac 

rsethi001
Explorer

Thank you for the response, I try and let you know.

Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...