Getting Started
A Loggly account without log data is a bit like a Twitter account with no tweets. We need your data before we can do anything impressive with it. Keep in mind Loggly does not provide a collection agent to gather logs. This means you need to do one or more of the following to send us your log events:
- send events with JSON data embedded in them
- embed code in your application to send us events via syslog or HTTP
Try a Simple TCP Input Example
When you first start using Loggly, your account will have one TCP based input called 'default'. Find details about this input by navigating to the “inputs” tab. Click on the input named “default”. You can start sending data to this input by grabbing the URL shown within the configuration section.
Once you have the URL, you can send some test data. Substitute the URL into the command below:
- Open a command terminal
- MacOS: The application is called “terminal”
- Windows: From Start –> Run –> type “cmd”
- Type: curl -H “content-type:text/plain” -d “127.0.0.1 - there's no place like home” https://logs.loggly.com/inputs/_input key value_
Be sure to update the command above with the URL that you copied from your input management page. Once you send some data to your input, you can search for it from the shell. From the dashboard, type in all or part of what you just sent:
You should get the shell showing you the result. You can even run a graph at this point on the data:
Going from Here
Be sure to use the “setup” page in your account to get more information on the different types of inputs that you can create. There's some great help and personalized code that will work for your logging account.


