Code Monkey home page Code Monkey logo

Comments (2)

lux4rd0 avatar lux4rd0 commented on May 29, 2024

@jpcapone Welcome to the world of logging!! It sounds like you already have this project set up to receive from Truenas - the issue is how to set up two forwarders? One to Loki and one to Splunk? I've found a few blog posts, but they're particular to how you want to use them. You can have Splunk simply scrape files that SyslogNG writes out to a file system - or use another intermediate. It also looks like Splunk only handles Syslog as a collector with their Enterprise version.

Can you share a bit more about what the end result should look like?

from grafana-loki-syslog-aio.

jpcapone avatar jpcapone commented on May 29, 2024

@lux4rd0 Thanks for getting back to me! "the issue is how to set up two forwarders? One to Loki and one to Splunk?"
Yes and Yes! I can tell that the truenas logs are being ingested by Loki. I assume I would need to add two items to the syslog-ng.conf

  1. Something like this as a destination entry
};
destination d_net_splunk {
tcp(“192.168.1.1” throttle(20000) log_disk_fifo_size(4194304));
};
  1. update the existing log entry
log {
        source(s_local);
        source(s_network);
        destination(d_loki);
	destination(d_net_splunk);
};

Also, fresh install and I am getting no data for Counts by host. Any help would be appreciated.
image

from grafana-loki-syslog-aio.

Related Issues (12)

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.