![]() It maps each value in the CustID field in the lookup dataset with the matching value in the cid field in the search results. This example replaces the data returned from the search results with data in the addresses lookup dataset. Replace data in your events with data from a lookup dataset ![]() Because there is no uid to match on, there are no changes to the search results for that event.Ģ. ![]() The fourth event was missing the department and the uid. If the search results already have the username and department fields, the OUTPUTNEW argument only fills in missing values in those fields.īecause the third event was missing the department, the department name is added to the search results. The username and department fields from the users lookup dataset are appended to each search result. | lookup users uid OUTPUTNEW username, department When you run the following search, for search results that contains a uid field, the value in that field are matched with the uid field in the users lookup dataset. The fourth event is missing the department and the uid. The third event is missing the department. The users lookup dataset contains this data: This example appends the data returned from your search results with the data in the users lookup dataset using the uid field. Put corresponding information from a lookup dataset into your events To learn more about the lookup command, see How the lookup command works.ġ. The following are examples for using the SPL2 lookup command. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |