Skip to content

Commit

Permalink
Update doc (#47)
Browse files Browse the repository at this point in the history
* Fixed docker-compose command

* Updated logs structure
  • Loading branch information
Lorygold committed Jul 31, 2023
1 parent 393693f commit 028b4c3
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ After that, there are two ways of running BuffaLogs, depending on your system co
* set the address of the host into the `CERTEGO_ELASTICSEARCH` variable in the `buffalogs.env` file
* launch ` docker-compose up -d` to run the containers
* if you have no hosts with Elasticsearch installed on it, you can run it directly with Buffalogs:
* run `docker-compose -f docker-compose.yml -f docker-compose.elastic.yml up -d` in order to execute all the containers, included Elasticsearch and Kibana
* run `docker-compose -f docker-compose.yaml -f docker-compose.elastic.yaml up -d` in order to execute all the containers, included Elasticsearch and Kibana
* Now elasticsearch and kibana are running on the same host with Buffalogs.

![buffalogs_dashboard_screenshot](https://user-images.githubusercontent.com/33703137/220879987-b6453e9d-0129-45c1-bc26-0542005e8730.png)
Expand All @@ -91,16 +91,23 @@ BuffaLogs is able to analyse logs coming from any source, provided that it compl

```
{
"@timestamp" : <timestamp_isoformat>,
"user": {
"name": <user_name>
},
"event": {
"outcome": <"success" OR "failure">
"outcome": <"success" OR "failure">,
"category" : "authentication"
},
"geoip": {
"latitude": <latitude>,
"longitude": <longitude>,
"country_name": <country_name>
"source" : {
"ip" : <source_ip_address>,
"geo" : {
"country_name" : <source_country_name>,
"location" : {
"lat" : <source_latitude>,
"lon" : <source_longitude>
}
}
},
"user_agent": {
"original": <user_agent>
Expand Down

0 comments on commit 028b4c3

Please sign in to comment.