A Custom Source is a dynamic group of agents and tags defined by a chosen set of conditions, like a shared property (tag or hostname). Using a Custom Source, you can create a dynamic list of similar agents and tags based on a set of conditions and simultaneously apply Lightrun Logs, Metrics, and Snapshots to the list.
You can create and manage Custom Sources directly from the Management Portal.
To create a Custom Source¶
- Log in to your Lightrun account
- Navigate to Entities
- Select Custom Sources to open the Custom Sources page.
Click + Create a Custom Source.
The following modal should appear.
Enter the Custom Source name, specify the relevant conditions, and click Create a Custom Source to create the Custom Source.
You can learn more about Custom Source conditions here.
After creating a Custom Source, the Custom Sources page should appear similar to the following image.
The following table describes the data present in the Custom Source table.
|NAME||Custom Source name.|
|CREATED BY||Email of user who created the Custom Source.|
|CREATION TIME||Custom Source creation time.|
Click the icon next to a Custom Source to delete the Custom Source.
You must remove every Lightrun action associated with a Custom Source before you can delete the Custom Source.
Click on a Custom Source to view every agent attached to the Custom Source.
The following table describes the present data:
|NAME||The name of the server on which the agent is running.|
|ENVIRONMENT||The application environment.|
|START TIME||The time at which the agent was started.|
|UPDATE TIME||The last time the agent fetched actions from the server.|
|ID||The unique agent ID.|
|API VERSION||The Lightrun API version currently implemented.|
|AGENT VERSION||The Lightrun Aagent version currently implemented.|
|ROUTING||The current configuration for log piping.|
|TAGS||Tags attached to this agent.|