Giter Site home page Giter Site logo

haf / semantic-logging Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 6.0 1.27 MB

For 'Semantic Logging' blog entry - the references might have changed since blog entry was published

Home Page: http://www.jayway.com/2012/07/27/how-to-set-up-semantic-logging-part-one-with-logstash-kibana-elasticsearch-and-puppet/

C# 42.71% Puppet 42.65% Ruby 13.15% Shell 1.49%

semantic-logging's Introduction

semantic-logging's People

Contributors

haf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

semantic-logging's Issues

"Reference is not a tree" error

While retrieving submodules, I have this error:

$ git submodule update --init
Submodule 'modules/elasticsearch' () registered for path 'modules/elasticsearch'

Submodule 'modules/logstash' () registered for path 'modules/logstash'
Submodule 'modules/nginx' () registered for path 'modules/nginx'
Submodule 'modules/rabbitmq' () registered for path 'modules/rabbitmq'
fatal: reference is not a tree: 565159b62e13f7ff1114b6417ca73572ee5bc012
Unable to checkout '565159b62e13f7ff1114b6417ca73572ee5bc012' in submodule path
'modules/rabbitmq'

"Missing method .ctor" running insert-data.exe

[getting spam error on your blog, so posting comment here :) ]

Enjoying going through the tutorial.

I assume that everyone who follows will have a precision32 vm that doesn't have mono installed already? Perhaps add it into the puppet module thingies?

I ran:

sudo apt-get install mono-runtime

But then I get this error running insert-data.exe:

$ mono bin/insert-data.exe
Missing method .ctor in assembly /vagrant/bin/NLog.dll, type System.Runtime.CompilerServices.ExtensionAttribute
Can't find custom attr constructor image: /vagrant/bin/NLog.dll mtoken: 0x0a000018

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  at insert_data.Program.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
  at insert_data.Program.Main () [0x00000] in <filename unknown>:0 
delete this gist
Comments are parsed with GitHub Flavored Markdown

Thoughts?

No download.sh in submodules

download.sh supposedly runs 2 other download.sh in the submodules but the scripts don't exist.

Where are they and what are they supposed to do?

fatal: reference is not a tree

How do I work around this error?
I tried git fetch in the sub-modules but then download.sh failed.

$ git submodule update --init
Submodule 'modules/elasticsearch' (https://github.com/haf/puppet-elasticsearch/) registered for path 'modules/elasticsearch'
Submodule 'modules/logstash' (https://github.com/haf/puppet-logstash.git) registered for path 'modules/logstash'
Submodule 'modules/nginx' (https://github.com/haf/puppet-nginx.git) registered for path 'modules/nginx'
Submodule 'modules/rabbitmq' (https://github.com/haf/puppet-rabbitmq/) registered for path 'modules/rabbitmq'
Cloning into 'modules/elasticsearch'...
remote: Reusing existing pack: 624, done.

Receiving objects: 100% (624/624), 94.83 KiB, done.
Resolving deltas: 100% (307/307), done.
fatal: reference is not a tree: 6d88a547b9d327c20dde298f29cbbb3e7c80274e
Cloning into 'modules/logstash'...
remote: Reusing existing pack: 318, done.

Receiving objects: 100% (318/318), 220.35 KiB, done.
Resolving deltas: 100% (210/210), done.
fatal: reference is not a tree: 059cb80977e8514b9de7d981f777c672ed2e8388
Cloning into 'modules/nginx'...
remote: Counting objects: 205, done.
remote: Compressing objects: 100% (102/102), done.
Receiving objects:  98% (201/205)   d 205 (delta 94)
Receiving objects: 100% (205/205), 42.22 KiB, done.
Resolving deltas: 100% (94/94), done.
fatal: reference is not a tree: 8361272578310563bcc534ea80840b278f6dcdf3
Cloning into 'modules/rabbitmq'...
remote: Counting objects: 1731, done.
remote: Compressing objects: 100% (872/872), done.
Receiving objects: 100% (1731/1731), 468.12 KiB | 552 KiB/s, done.
       ng deltas:   4% (31/726)
Resolving deltas: 100% (726/726), done.
fatal: reference is not a tree: 565159b62e13f7ff1114b6417ca73572ee5bc012
Unable to checkout '6d88a547b9d327c20dde298f29cbbb3e7c80274e' in submodule path 'modules/elasticsearch'
Unable to checkout '059cb80977e8514b9de7d981f777c672ed2e8388' in submodule path 'modules/logstash'
Unable to checkout '8361272578310563bcc534ea80840b278f6dcdf3' in submodule path 'modules/nginx'
Unable to checkout '565159b62e13f7ff1114b6417ca73572ee5bc012' in submodule path 'modules/rabbitmq'

Is there a part 2?

I was reading your excellent blog post, and was curious as to if there was a part two out yet. Couldn't find it on the blog. Thanks!

Broken link to rabbitmq; not working alternative

The link / submodule rabbitmq @ 565159b is broken (as stated in issue #2 ).
But using haf/puppet-rabbitmq instead gives an error (on Vagrant 1.1.4):

Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type rabbitmq::plugin at /tmp/vagrant-puppet/manifests/semantic-logging.pp:9 on node semantic-logging

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.