File is a datatype for a file upload to LogScale for use with the `match` query function. You can see them under the Files page in the UI.

Table: File

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 25, 2024
allowedActions[AssetAction]yes The allowed asset actions. See AssetAction. This is a preview and may be changed.
contentHashstringyes A content hash.
createdAtdatetimeyes The date on which the file was created.
createdBystringyes The author of the file.
fileSizeByteslongyes The file size in bytes.
modifiedAtdatetimeyes The date and time the file was last modified.
modifiedBystringyes The user who last modified the file.
nameAndPathFileNameAndPathyes The name and path of the file. See FileNameAndPath.
packagePackageInstallation  The package, if any, associated with the file. See PackageInstallation.
packageIdVersionedPackageSpecifier  The package identifier. VersionedPackageSpecifier is a scalar.
viewPartialSearchDomainyes The view or repository for the file. See PartialSearchDomain. This is deprecated to remove recursive field definition. Will be eliminated in version 1.166.