Manage Lookup Files
You can manage all available lookup files in your repository from the web interface.
![]() |
Figure 48. Lookup Files Interface
From the table you can:
Update lookup files
Security Requirements and Controls
Update Filespermission
Sometimes it's necessary to update the content of lookup files. If you are running a trigger with a lookup file action, you can configure the action to update the file automatically based on the results of the trigger.
If you are not updating the lookup file automatically with a trigger as described above, the following methods are available to update lookup files:
Update the lookup file from the menu → :
Click on the file to update
Update the file as needed: add or remove columns and rows, update contents, and so on.
Click
Update the lookup file in the
Searchinterface. In this case, you will run the query and then save the results as a lookup file: see Update existing lookup files from the Search page for details.Update the lookup file externally and upload it to LogScale. To do this, export the lookup file and open it in another tool, make the necessary changes, and upload the file again.
Note
If you want the lookup file to be updated, appended, or overwritten by a query in a scheduled search, you must select the lookup file in an action attached to the scheduled search and choose the desired behavior when the query runs. For more information, see Action Type: Lookup File.
Update existing lookup files from the Search page
Available: Update a lookup file from the search interface v1.211.0
Update a lookup file from the search interface is available from version 1.211.0.
When updating an existing file from the Search page, run the query whose
results you want to save, then click
in the
Results panel and choose
.
Select Update existing file and choose the file name from the drop-down.
![]() |
Figure 49. Update lookup file from Search
There are three options in the Update behavior drop-down:
Overwrite contents replaces the contents of the file with the query results.
Update changed will update the changed results based on the key columns selected. When a row's key columns match the query results, LogScale replaces the matching rows. So fields that are not on the updated row will be removed, and new fields may also be added. The rows that do not match will be appended to the existing contents.
When selecting Update changed, you must select one or more columns in Key column selection on which to attempt to match. This functionality works in the same way as the
match(), in that if multiple key columns are selected, then all of them must match for the row to be updated. For example, if hostname is designated as the key column and a device's IP address changes, the system will automatically update to reflect the new IP while maintaining the same hostname. Matches can also be case-sensitive, if necessary. If Match case sensitive is enabled, updates will only occur if the column values match exactly, including uppercase and lowercase characters.To select columns, type the name of the column on which to match, or select it from the drop-down list.

Figure 50. Update lookup file from Search with option Update changed
Append results appends the query results to the existing contents. This can result in duplicate rows.
Click once you have made your selection.
Copy lookup file names
Security Requirements and Controls
Update Filespermission
Available: Copy lookup file names v1.230.0
Copy lookup file names is available from version 1.230.0.
It can be helpful to copy the complete file names of lookup files, so you can use them in building queries that use functions like match(),
which need to recall the file name.
There are two ways to copy the name of existing lookup files:
Click the option from the options menu in the files' overview table
Click the copy icon that reveals on hovering over a file name in the files' overview table.
Export lookup files
Security Requirements and Controls
Update Filespermission
You can export lookup files from LogScale as needed, for example, to augment content in third-party tools where it is easier to manipulate large amounts of data.
To export a file from the overview table, click the ⋮ menu icon next to the file and select :
![]() |
Figure 51. Lookup file management actions
You can also export the lookup file when the file is open by clicking :
![]() |
Figure 52. Export file
Delete a lookup file
Security Requirements and Controls
Delete Filespermission
Warning
Deleting a file that is actively used by live queries will stop those queries.
To delete a file click the ⋮ menu icon next to a file in the files' overview table.
You can also delete the lookup file when the file is open by clicking .
![]() |
Figure 53. Delete file
Assign permissions for lookup files
Security Requirements and Controls
Change user accesspermission
Sometimes you might want to collaborate with another user on a file, but that user does not have permission to files in the view. If you have permissions to do so, you can grant permissions to that user to edit and delete a particular file in a view. For more information about asset permissions, see Asset permissions.
If you do not have
Change user access
permission on the repository, you will see a list of users only (no
groups) that already have at least Read permissions on the repository. You
can select from these users and give them more permissions (up to the same
permissions you have).
To grant access to edit or delete a file to another user or group:









