# 30-Day Historic Data Collection

{% file src="<https://838442306-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmL1rE8bLu9Ss8wOFgB%2F-LyAkNDLeFEAGs1AR3uN%2F-LyAsIyTQyXy6_ab6PB8%2F6fusion_30Day_Consumption_History_Analysis.pdf?alt=media&token=d8da1bf3-08c8-45cd-976d-3ccdd5651d95>" %}
Download the Summary PDF copy here -
{% endfile %}

For more detailed information on this process - please select the Spot Meter Guide link below:

{% content-ref url="../../collectors-1/untitled-1" %}
[untitled-1](https://documentation.6fusion.com/collectors-1/untitled-1)
{% endcontent-ref %}

![](https://838442306-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmL1rE8bLu9Ss8wOFgB%2F-LyAsLk5aPsBFwb08lZS%2F-LyoOCOdaNLtol0q1bWT%2F6fusion%20Heading%20Graphic.jpg?alt=media\&token=3704289d-c0ef-4240-9e4f-bdbb4350cf66)

![](https://838442306-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmL1rE8bLu9Ss8wOFgB%2F-LyoPS2PbeCWI0IfQaXM%2F-LyoQuzCK8n5wkHZCd0C%2F30-Day%20Summary%20Text%20Block.jpg?alt=media\&token=67caf167-02fd-4d03-aa0d-c587dbbeaaa5)

![](https://838442306-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmL1rE8bLu9Ss8wOFgB%2F-LyoPS2PbeCWI0IfQaXM%2F-LyoRFGuDjfVsE3jCPZN%2FText%20Block%20-%20Export%20Script.jpg?alt=media\&token=8bd362ac-62e8-4279-ab7b-c568e6db5d12)

### Download the 6fusion Export Script for VMware:

{% file src="<https://838442306-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmL1rE8bLu9Ss8wOFgB%2F-LyoPS2PbeCWI0IfQaXM%2F-LyoSapALOgZ42L49mk4%2F6fusion_vcenter_export.ps1.zip?alt=media&token=5744070f-61e5-4a5a-b6d3-4d78b90b40f7>" %}
6fusion vCenter Export Script
{% endfile %}

From the VMware PowerCLI, navigate to the folder where the script was saved, and execute the script:     ./vmware-export.ps1

Follow the on-screen instructions. The script will ask for the following input:

* **vCenter Server** - This is the IP address of your vCenter Server
* **Username** - Username for authenticating against vCenter
* **Password** - Password for authenticating against vCenter
* **Directory Name** - This will be the directory where files are exported, and subsequently this will serve as the name of the zipped-file once the process is complete. This should be named something meaningful to the user (ie: company, export date - company20200131)

The script will:

* Connect to the vCenter server using the username and password
* Generate several CSV files containing the machine metrics information for that infrastructure for the past 30 days (Note: this may take several minutes).
* Compress and store the collection of CSV files into a single ZIP file, named according to the “directory name” provided.

You are now ready to send the single ZIP file to 6fusion.  Please send 6fusion support an email - <support@6fusion.com>, informing them that your extract is complete.

6fusion will respond to your new ticket with a secured FTP server address and username and passwords you can use to upload your new ZIP file.

![](https://838442306-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmL1rE8bLu9Ss8wOFgB%2F-LyoPS2PbeCWI0IfQaXM%2F-Lyo_K3ZJaF7tXlPo6tO%2Fextract1.jpg?alt=media\&token=fc7b483c-ffde-421b-bca7-6ff2fa69eb68)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.6fusion.com/introduction/getting-started-1/30-day-historic-collection-summary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
