View or Download Source JSON Configuration
You can view and copy the Source JSON configuration for a Collector or Source from Sumo Logic:
- Collectors. The JSON file defines the set of Sources on the selected Collector.
- Sources. The JSON file defines a single Source to use when managing a folder of multiple Sources or when uploading a new Source using the API.
Source JSON configurations allow you to configure Sources or to store Source configurations as backups. See Local Configuration File Management for Existing Collectors and Sources for information on using JSON configuration files.
To view and download a JSON configuration file:
- Classic UI. In the main Sumo Logic menu, select Manage Data > Collection > Collection.
New UI. In the Sumo Logic top menu select Configuration, and then under Data Collection select Collection. You can also click the Go To... menu at the top of the screen and select Collection. - Click the icon to the right of the Collector. A dialog box opens to display the JSON configuration.
- Click Copy to copy the JSON code to your clipboard. (If you use Safari as your browser, there is no direct copy option. You must select all of the text manually, then use the browser copy option to copy to the clipboard.)
- Open a text editor and paste the JSON code into the file, where you can modify it as needed. Passwords for remote Sources are replaced with
"********"
since we do not expose passwords for security reasons. Change the"********"
entry with your password so the Source can authenticate on a new Collector. ThecutoffTimestamp
option can be updated to use a Linux epoch timestamp to specify that resulting ingests do not capture legacy data that may exist on the server. To derive epoch timestamps from real dates and times, see the Official Epoch Converter. - Name the file sources.json, or another name that makes sense, and save the file to an accessible location.