diff --git a/README.md b/README.md
index 7e2fcbc579df64dbcb6ad90f0836b57f23aeb72d..9e993edc36e6af9eb2e81bb67f9775053317c182 100755
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# log
+# @general/log
 
 A real simple logger application.
 May Optional Log to A File and a graylog-server via http or udp.
 
 ## Installation
 
-- `npm install --save @general/config`
+- `npm install --save @general/log`
 
 ## Usage
 
@@ -61,6 +61,10 @@ Possible Setting:
     "mode": "http or udp, defaults to udp",
     "server": "graylog-server",  
     "port": "graylog-port"
+  },
+  "loki": {
+    "active": "true or false",
+    "server":"loki-server"
   }
 }
 ```
diff --git a/examples/log-to-loki.js b/examples/log-to-loki.js
new file mode 100755
index 0000000000000000000000000000000000000000..c2063aaeff51f73b74cd703c92b46c7f9296a0a4
--- /dev/null
+++ b/examples/log-to-loki.js
@@ -0,0 +1,17 @@
+const Log = require('../index.js')
+
+let log = new Log({
+  name: 'Sample-Application',
+  hostname: 'test-server',
+  loki: {
+    active: true,
+    server: 'http://localhost:9999'
+  }
+})
+
+log.info('This is an Information')
+log.notice('This is a Notice')
+log.warn('This is a Warning')
+log.error('This is an Error')
+log.fatal('This is a Fatal Message')
+log.debug('This is a Debug Message')
diff --git a/examples/loki-http-server.js b/examples/loki-http-server.js
new file mode 100755
index 0000000000000000000000000000000000000000..f6af20145209dba220c0db6985245905b55638a5
--- /dev/null
+++ b/examples/loki-http-server.js
@@ -0,0 +1,17 @@
+var http = require('http');
+http.createServer(function (req, res) {
+  console.log(req.method, req.url, req.headers['content-type'])
+  console.dir(req.headers)
+  if (req.method === 'POST' && req.url === '/loki/api/v1/push' && req.headers['content-type'] === 'application/json') {
+    var body = ''
+    req.on('data', function(data) {
+      body += data
+    })
+    req.on('end', function() {
+      console.log(body)
+      res.writeHead(202, {'Content-Type': 'text/html'})
+      res.end('post received')
+    })
+    
+  }
+}).listen(9999)
\ No newline at end of file
diff --git a/index.js b/index.js
index 850df8e88932c238f143ffd008d7c4d82fc6f0fe..8e74edc1776e70ac3882b33312f44f3bc1ad3983 100755
--- a/index.js
+++ b/index.js
@@ -42,6 +42,9 @@ function Log (options) {
       this.udpclient = this.udp.createSocket('udp4')
     }
   }
+  if (this.options.loki && this.options.loki.active) {
+    this.request = require('request')
+  }
   if (this.options.file) {
     this.fs = require('fs')
     this.path = require('path')
@@ -172,6 +175,26 @@ function Log (options) {
         })
       }
     }
+    if (this.options.loki && this.options.loki.active) {
+      let data = JSON.stringify({
+        streams: [
+          {
+            stream: {
+              hostname: this.hostname,
+              name: this.name
+            },
+            values: [
+              [Date.now() / 1000, message]
+            ]
+          }
+        ]
+      })
+      this.request.post(this.options.loki.server + '/loki/api/v1/push', {body: data, json: true}, (error, res, body) => {
+        if (error) {
+          console.error(error)
+        }
+      })
+    }
     return msg
   }
   this.getDate = function () {