Documentation forLoggly

Sample Data

You can use Loggly’s sample evaluation data if you just want to do a quick test on the features of Loggly without uploading your own data. It’s about 2MB and contains over 6,000 events. It includes a variety of sources including Apache access and error logs, Django application server logs, Java stacktraces, JSON data, and more. You can use it to try out features like filters, automated parsing, trend analysis, dashboards, and more.

Linux or Mac Environment

1. Send Data

You send data with one simple command. Open a terminal window, enter your token, then run it to upload the sample data to your account.

curl -L https://www.loggly.com/install/LogglySample.log | curl -X POST -H "content-type:text/plain" --data-binary @- https://logs-01.loggly.com/bulk/CUSTOMER_TOKEN/tag/sample

Replace:

  • CUSTOMER_TOKEN: Replace with your personal Customer Token you obtain from the Source Setup pages.

sample-data-terminal
You should get the response ok code. If it says "Invalid API key" then make sure to insert your customer token.

2. Verify

Search Loggly over the Last hour with the sample tag to see your log events:

tag:sample 

sample data

3. Use the Data

Loggly Getting Started Guide – Use the sample data to troubleshoot problems on a website using trend analysis, dashboards, alerts and more.

Windows Environment

1. Download cURL

Download the latest version of cURL for use on your Windows machine from the cURL website. Be sure to unzip the cURL files to a directory that is easy to access (e.g. c:curl).

2. Send Data

Open the Command Prompt program from the Start menu, then change to the curl installation directory.

cd c:curl

Paste the following command into the terminal window, then run it to upload the sample data to your account.

curl -L https://www.loggly.com/install/LogglySample.log | curl -X POST -H "content-type:text/plain" --data-binary @- https://logs-01.loggly.com/bulk/CUSTOMER_TOKEN/tag/sample

Replace:

  • CUSTOMER_TOKEN: Replace with your personal Customer Token you obtain from the Source Setup pages.

3. Verify

Search Loggly over the past 30 minutes with the sample tag to see your log events:

tag:sample 

sample data

4. Use the Data

Loggly Getting Started Guide – Use the sample data to troubleshoot problems on a website using trend analysis, dashboards, alerts and more.

When the APM Integrated Experience is enabled, Loggly shares a common navigation and settings with the other integrated experiences' products. How you navigate Loggly and access its features may vary from these instructions. For more information, go to the APM Integrated Experience documentation.

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.