Permalink
Browse files

Update README.markdown

  • Loading branch information...
1 parent 793ec46 commit c0df698950e82918697366021351c6c2515ce7c7 @lofidellity lofidellity committed Feb 24, 2012
Showing with 8 additions and 12 deletions.
  1. +8 −12 README.markdown
View
@@ -2,24 +2,20 @@
## Why?
* We wanted a way to generate statistics on similar data on the fly.
-*
## Configuration
* To use, copy the sample config (lib/config.php.sample) to lib/config.php and make any
changes you need
+
```php
-# the hostname/ip to connect to ElasticSearch
+<?php
+
define("ELASTICSEARCH_HOST", "localhost");
-# the port to connect to ElasticSearch
-define("ELASTICSEARCH_PORT", "9200");
-# the hostname to search for if none entered
-define("DEFAULT_HOSTNAME", "*");
-# the start date to search from if none entered
-define("DEFAULT_START_DATE", "1 hour ago");
-# the end date to search til if none entered
-define("DEFAULT_END_DATE", "now");
-# the defaults string to search for is none entered
-define("DEFAULT_SEARCH_STRING", "logs");
+define("ELASTICSEARCH_PORT", "9200");
+define("DEFAULT_HOSTNAME", "*");
+define("DEFAULT_START_DATE", "1 hour ago");
+define("DEFAULT_END_DATE", "now");
+define("DEFAULT_SEARCH_STRING", "logs");
```
## Included code

0 comments on commit c0df698

Please sign in to comment.