About directory structure
Input policy and license
On the Persistent Volume (PV) mount point,
/<mount_point>
, a directory with a name spe-data
is created, in case it is not already created. It is used for the user input and store data, logs, and statistics that are generated by SPE containers.Policy
During startup, the SPE container looks for the input policy to be used on the PV. If the input policy is not available to be applied, the SPE container starts up with the default shipping policy. If the input policy is provided on the PV, then the SPE container picks up the input policy and applies the policy on the default policy during the startup.
The PV location where the SPE container looks for the input policy is -
/<mount_point>/spe-data/policy/
.License
The SPE docker image and the Helm chart require the BYOL license for using it. Refer to the licensing topic for more information.
During startup, the SPE container looks for the license to be used on the PV. If the input license is provided on the PV, then the SPE container picks up the input license and applies the license to SPE on the pod during the startup.
The PV location where the SPE container looks for the input license is -
/<mount_point>/spe-data/license/
.Data generated by SPE container
For each container, a container-specific directory is created to store log files, debug logs, policy audit directory, and quarantine items.
- log- report.xml and SPE customer logs are stored in log directory. report.xml stores statistics, definition information, component version information along with the license status. Use the log converter to convert, filter logs.
- log/debug- Component logs, such as CSAPI and Stargate logs when configured are stores in debug directory.
- policy- Policy directory stores shipping policy in directoryspexmlpolicy-defaultfor auditing purpose. User specified policy is stored in directory beginning with spexmlpolicy that are suffixed with the date time stamp in XML and json form. For example, spexmlpolicy-2023.03.17-20.05.28 and spepolicy-2023.03.17-20.03.18.json.
- quarantine- Item quarantined by SPE container.
Sample directory structure
spe-data/ ├── container │ └── spe-49-release-6-specs-7b4566cf55-k6xvj │ ├── log │ │ ├── debug │ │ │ ├── defutils.log │ │ │ ├── lux.log │ │ │ └── specontainer.log │ │ ├── report.xml │ │ ├── SSE20230321.dat │ │ ├── SSE20230321.log │ │ └── SSE20230321.rcl │ ├── policy │ │ ├── spepolicy-2023.03.17-20.03.18.json │ │ ├── spexmlpolicy-2023.03.17-20.05.28 │ │ │ ├── centralmgmt.xml │ │ │ ├── configuration.xml │ │ │ ├── filtering.xml │ │ │ ├── liveupdate.xml │ │ │ ├── policy.xml │ │ │ ├── report.xml │ │ │ └── version.xsd │ │ └── spexmlpolicy-default │ │ ├── centralmgmt.xml │ │ ├── configuration.xml │ │ ├── filtering.xml │ │ ├── liveupdate.xml │ │ ├── policy.xml │ │ ├── report.xml │ │ └── version.xsd │ └── quarantine │ └── 01cea4a8-01de-4251-a1c7-96825bceec2a │ ├── 01cea4a8-01de-4251-a1c7-96825bceec2a.json │ └── 01cea4a8-01de-4251-a1c7-96825bceec2a.zip ├── license │ └── spe-license.slf └── policy └── policy.yaml