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
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...