Skip to main content
Sumo Logic

Part 2: Add a Source

Learn how to add an Apache Access source.

Now that you’ve set up a collector on a machine in your environment, you can add a source.

Find the collector by name on the Collection page and select Add > Add Source.

Add source

Sumo Logic supports many source types. For this tutorial, we’re going to look at the logs in the Apache Access file that you downloaded to your computer in Part 1. That’s a local file source, so click Local File.

Local file

This page has lots of options, but just a few settings are required. Add a name to identify the source. For the file path, use the path to the apacheaccess.csv file that you downloaded earlier. Enter a name for Source Host and Source Category, so you can easily refer to the source in search queries. Tip: Defining an appropriate source category will let you zero in on your data anytime by specifying the source category in your queries. Click Save.

Source settings

Click Collectors and Sources to return to the list on the Collection page.

Collection page

The new source is now listed. The green checkmark indicates that its status is active and that Sumo Logic will start ingesting data from the source.

Active

You can verify that your data is now being ingested by running a search. A quick way to do that is to hover over the source category and click the blue search icon.

source launch search

The Search page opens to show the search results. If you don't see any data, check the Apache Access file you downloaded in Part 1 of this tutorial and make sure that the date stamp on the messages matches the time interval on the Search page.

source search interval

 

Nice job! You've now set up a source on your local machine, so the data in the Apache Access file that you downloaded to your machine in Part 1 is now available in Sumo Logic.  In Part 3 you'll install the Apache Access app, which has predefined searches and dashboards that make it a snap to view your data.