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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...