Open Source Logging: Getting Started with Graylog Tutorial

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 157

  • @LAWRENCESYSTEMS
    @LAWRENCESYSTEMS  4 роки тому +12

    Related Forum Post
    forums.lawrencesystems.com/t/open-source-logging-getting-started-with-graylog/8797

  • @Graylogvideos
    @Graylogvideos 3 роки тому +93

    Hey, we are doing some UA-cam clean up and just came across the video! What a great tutorial! Thanks for taking the time to make it :)

  • @earthling_parth
    @earthling_parth 3 роки тому +3

    I keep referencing this video again and again. This is a great beginner level tutorial to basics of getting logs into Graylog, separating them into streams, and searching through logs with Graylog.

  • @mjgritli
    @mjgritli 2 роки тому +4

    Thank you,
    I spent lots of time configuring ELK from scratch, but the work greylog has done is awesome, its simple and does the job well
    thank you for showing this

  • @earthling_parth
    @earthling_parth 3 роки тому +2

    I was hung up on how to identify and separate out logs for a project/application once I send the logs from FluentD to Graylog. Your explanation on streams/indices/rules helped cleared out that confusion. Thank you so much

  • @loupalladino9578
    @loupalladino9578 4 роки тому +3

    I've been dragging my feet for about a year now on making a decision with respect to log aggregation from a handful of proxies I manage all over the world. I checked this video out and decided to give Graylog a try and I absolutely love it! The install is super, super easy and I had a Graylog instance running and ingesting data from several of my proxies within 2 hours. Now its just a matter of a tweaking queries and dashboards to let me see precisely what I need. Awesome video, as always, Tom - I for sure would have spun my wheels on the streams / indices / extractors /etc!

    • @JohnRRugge
      @JohnRRugge 3 роки тому

      could you share what queries you've used for your dashboards or any free resources available. Thanks

  • @willblanton3120
    @willblanton3120 3 роки тому +7

    I’ve played around a bit now and I’ve found you can really set a single “syslog” input for multiple servers. Then you create the index and streams. But when you create the stream “rule”, you can use the “gl2_remote_ip” field to only filter by certain syslog sources. So for pfSense, it would be the router. And for any unifi devices, it’s the IP of the device itself (AP, switch, etc). You can set the stream to be a so for device, or a group. This way you don’t have to have a separate input with a unique port number for EVERY remote server :)

    • @beerfarmer1828
      @beerfarmer1828 2 роки тому

      Thanks, I was just wondering how to mitigate this problem. Your explanation was perfect.

  • @sheepd0gonwatch215
    @sheepd0gonwatch215 2 роки тому +2

    I've been using Graylog at many of my customers for a few years now. Excellent product. I've been able to setup some really informative dashboards and alerts. It works well after you make a few tweaks. One thing I found is to make sure to adjust the heap size to get good performance. Other than that, it works great. We are ingesting Windows logs, NAS storage logs, WIFI AP logs, Firewall and Switch logs and VMware logs. The difficult part is narrowing down the scope of the data to the things you really need, but once you have it you can build dashboards that provide concise information. I have been using the grok patterns to categorize data from firewalls and it helps to build more informative dashboards and allow greater flexibility in presenting the data. Excellent tutorial.

  • @FireBean8504
    @FireBean8504 3 роки тому +1

    Thank You for showing this piece of software. I was working on setting up an ELK stack for just syslogs and is has been a few days utter failure and making me question my chosen profession and my proficiency at it. I have chosen to take a different route for logs because of the sheer admin cost. It's just two of use for 4500+ Customers and 100 Employee's.

  • @nlay42
    @nlay42 3 роки тому +1

    Thank You Tom. I am looking at implementing Graylog in my home network and your video content was very helpful!

  • @bobbinatorrah67
    @bobbinatorrah67 4 роки тому +5

    I’ve just been thinking about how there must be something like this out there. Thank you! I’ll play with this!!

  • @bamhm182
    @bamhm182 3 роки тому +2

    Thanks for the great video! I have been wanting to get into graylog for a while, this video finally got me to get off my butt. Still trying to figure it all out, but this was a great start. I was able to very easily set up the free enterprise license since it seems highly unlikely I will be ingesting over 5gb/day in my homelab.

  • @tommy11sixorozco9
    @tommy11sixorozco9 4 роки тому +6

    We use this at my work. It’s dope.

  • @brandonbrooks2845
    @brandonbrooks2845 3 роки тому +1

    Been wanting to move away from Splunk for a while, thanks for hitting the high points!!

  • @Mister_Morise
    @Mister_Morise Рік тому +1

    So helpful! Great tuto! New sub in here.
    Greets from Uruguay.

  • @blackranger07
    @blackranger07 2 роки тому

    Thanks! This video helped me to get graylog to start seeing incoming data.

  • @MicheeNzamununu
    @MicheeNzamununu 3 роки тому

    I set this up in 2016, we had 3 customers all sending logs to centralized Graylog server; it was fun!

  • @russellbaker4256
    @russellbaker4256 4 роки тому

    Ran a Graylog VM and couldn't figure out why it wouldn't ingest my ESXi, TrueNAS and NetScaler logs. I imagine it was the extractor, stream, index architecture that I didn't understand. Great job of addressing that upfront and not just going thru a procedural next, next, next configuration

  • @adancalderon8915
    @adancalderon8915 4 роки тому +1

    This is Great Tom. I have been looking for this video on this topic. Thanks.

  • @ZAndrsn
    @ZAndrsn 3 роки тому +1

    Thanks for this video Tom! I was just starting to work on this. I’d love to see a video that is specifically about getting Suricata logs into Graylog if that’s something you’re interested in!

    • @ZAndrsn
      @ZAndrsn 3 роки тому +1

      I am also hoping to export Suricata events to Grafana for visualization if that's something you're interested in exploring.

    • @mariorodrigoblock1023
      @mariorodrigoblock1023 2 роки тому

      Hi, I'm trying to send the suricata logs on pfsense to graylog and then show into grafana. but not luck yet. Only can show filterlog logs but not from suricata. if someone have this done I appreciate some kind of help. Thanks a lot

  • @quebirt
    @quebirt Рік тому

    Thanks again for another really good breakdown using real world and human understandable examples.

  • @cobaltclaudia
    @cobaltclaudia 3 роки тому +1

    This is awesome!! Great video!

  • @whatevah666
    @whatevah666 3 роки тому

    I had to use RAW udp (in order to see pfsense logs) and not syslog for some readon for the logs to actually popup, it was a rough start.... I'm at pfsense 2.4.4-p3 and i can see you have other options in yours as BSDlogging in your fw, so updating it might be good/fix things for me ... :)

  • @Sladeofdark
    @Sladeofdark 2 роки тому

    can't wait to use this !!

  • @edgecrush3r
    @edgecrush3r Рік тому

    I see you also have Elastic Search running. would be interesting to hear what your pro's cons are vs using Greylog.

  • @JB-mn4ff
    @JB-mn4ff Рік тому

    vAppliance no longer available/supported from Graylog: 4:00 "no time commitment loading a VM." ☹

  • @berndeckenfels
    @berndeckenfels 4 роки тому +4

    Good Timing considering the ElasticSearch license melt down

    • @4polelowpass
      @4polelowpass 4 роки тому

      ElasticSearch licence meltdown? What happened?

    • @berndeckenfels
      @berndeckenfels 4 роки тому +1

      It’s no longer open source and they blamed Amazon for it.

    • @3ilson
      @3ilson 3 роки тому

      GrayLog utilizes ElasticSearch - what do you exactly mean?

  • @DJ-Manuel
    @DJ-Manuel 4 роки тому +2

    Very good explaining video.
    I have one question:
    I have multiple servers / raspberry pis where i want to get the syslogs, however with 100 raspis, i dont like to create 100 different inputs with different ports. Can different hosts ude the same port and can the graylog distinct between the indiviual sources?
    In the end, all the data of those devices can land in the same location, with some filter to separate out some specific messages to be saved in another location, however i would need to know where the logentry came from, when using the same port. Is this possible?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому +1

      You could use one port and then parse the data by host name.

  • @rodneyaltamera4057
    @rodneyaltamera4057 3 роки тому

    Nice video. I'll try this on my network and see what it can do.

  • @MiguelCruzer
    @MiguelCruzer 4 роки тому +7

    Graylog FTW
    Been using it since 2013.
    Pair it with fluentd and you are done.

  • @MajesticBlueFalcon
    @MajesticBlueFalcon 4 роки тому +1

    Have you ever covered SIEMs? I would love to get pointed to the best ones out there, OSS if possible. Thanks!

    • @Yarisken12
      @Yarisken12 3 роки тому

      @S K We use Qradar. It's a great product only very expensive.

    • @jono_in_AU
      @jono_in_AU 3 роки тому +1

      Check out wazuh

  • @fakerkochigh5311
    @fakerkochigh5311 5 місяців тому

    Thanks for the brilliant video. I'm planning to integrate unifi controller to graylog . do you have any idea where I get the extractors for inputs

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  5 місяців тому

      github.com/lawrencesystems/graylog_extractors

  • @bryan.bayesian
    @bryan.bayesian Рік тому

    Graylog tweeted your "almost done my 2023 Graylog update, need some help with an issue" tweet. Docker seems to be the way these days. I saw that you were able to fix the issue you were having with the config file. Are you going to release a tutorial soon?

  • @cryptolicious3738
    @cryptolicious3738 4 роки тому

    very interesting! is there a log4j adapter? work?
    will there be a AI Threat analysis followup video?

  • @renanfeitosa101
    @renanfeitosa101 4 роки тому +2

    Hey Lawnrence any recommendations on user authentication and navigation logs?

  • @zparihar
    @zparihar 3 роки тому

    Thanks for this! I'm also interested in how this compare to ELK and even Splunk.

    • @3ilson
      @3ilson 3 роки тому +1

      You could compare for yourself... install Kibana and visualize the same data for comparison or install two instances (one Graylog and one ElasticStack) to evaluate the two. GrayLog is a bit more intuitive than setting up an ElasticStack instance and is a matter of preference. Here's a ElasticStack alternative to try and compare for yourself: github.com/pfelk/pfelk
      A video comparison would be great!

  • @mmobini1803
    @mmobini1803 4 роки тому

    Thank you Tom.

  • @Feed9Will
    @Feed9Will 3 роки тому

    Great & Useful vid

  • @nycksw
    @nycksw 3 роки тому

    Great video.

  • @dechmusic
    @dechmusic 2 роки тому

    Many-many-many-many thanks! Very good tutorial! Still curious, what is in "Memez" bookmark folder xD

  • @WhatAmIGonnaGet
    @WhatAmIGonnaGet Рік тому

    Nice tutorial. Thank you for not spending the first 30 minutes explaining your life history, begging to be excused for not posting on UA-cam, a tour of your house, with 10 minutes of please like and subscribe

  • @PaulMansfield
    @PaulMansfield 3 роки тому +2

    How does this compare with splunk?

  • @RossenAntonov
    @RossenAntonov 4 роки тому +1

    I subscribed to your channel recently and I am very glad now because of videos like this.
    Q: I have services sending emails. Can Graylog receive or check email?
    Also, can I set it up so that it alerts me if an email for a task that is scheduled was not received?
    Thank you!

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому

      It can send an email based on parameters that you define. www.graylog.org/features/alerting

    • @RossenAntonov
      @RossenAntonov 3 роки тому

      ​@@LAWRENCESYSTEMS I have services and routers sending email messages when an event appears. I was wondering if Graylog can extract those messages via IMAP/POP3 and analyse them?

  • @pmsrodrigues
    @pmsrodrigues 4 роки тому +1

    SYSLOG appears to be a no-brainer. But what about Windows server logs?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому +2

      Yes docs.graylog.org/en/4.0/pages/sending/windows.html

  • @Gaming_qube
    @Gaming_qube 3 роки тому

    Interesting video, I decided to create my own laboratory! What about alerts? How do I make an alert for a specific log?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 роки тому

      docs.graylog.org/en/4.1/pages/alerts.html#alerts

  • @Mr.Leeroy
    @Mr.Leeroy 4 роки тому +1

    So it just accepts entries on specific port or is there any auth?
    How do I know that gathered data is legit?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому

      Syslog does not use auth, but some of the other support input types do.

    • @Mr.Leeroy
      @Mr.Leeroy 4 роки тому

      @@LAWRENCESYSTEMS Tell me that it is not plain text at least..

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому +1

      @@Mr.Leeroy You should probably read up a bit more on how syslog works.

    • @Mr.Leeroy
      @Mr.Leeroy 4 роки тому

      @@LAWRENCESYSTEMS it has been on 2do list for far too long.

    • @3ilson
      @3ilson 3 роки тому +1

      @Leeroy - Syslog was created in the 1980s and by default does not encrypt, transmitting everything in the clear. However, Syslog-NG is capable of transmitting over TLS via TCP. Additionally, Syslog-NG was developed to add additional security and filtering options. This same setup is feasible (replacement to syslog) and capable of leveraging TLS (e.g. encryption).

  • @stijnphilips
    @stijnphilips 4 роки тому +1

    Awe-some, Tom!

  • @shetuamin
    @shetuamin 3 роки тому

    How do i send log from different subnet? I created a pfsense vip for graylog server. I can ssh and ping graylog server by this ip but not able to open web gui and send log.

  • @mrraspberry8263
    @mrraspberry8263 2 роки тому

    Ever made a comparison between ELK-Stack and Greylog?

  • @ithelpers4625
    @ithelpers4625 2 роки тому

    very cool.. Thank you!

  • @RuchiSharma-hv2xk
    @RuchiSharma-hv2xk 2 роки тому

    I am completely newbie in logging analysis and this domain, can you please tell me if Graylog is SAAS based solution in any way? I mean when we ingest log data for analysis do we need to ingest it in their SAAS platform?

    • @Zwiesel66
      @Zwiesel66 2 роки тому +1

      As he already told us, it is not, because you can run it on your own server.

  • @attilavidacs24
    @attilavidacs24 4 роки тому +1

    Does this integrate with Active Directory?

    • @BenTyger
      @BenTyger 4 роки тому

      Yes, via LDAP.

  • @stephanietan4389
    @stephanietan4389 3 роки тому

    Hi, have you tried integrating syslog-ng to graylog ? Have tried it but the format was bad. If you have tried it, do you have any suggestions ?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 роки тому

      I have not, but their forums can be helpful for parsing formats.

  • @aqkhana2002
    @aqkhana2002 3 роки тому

    Question to Master : how can i secure graylog to only receive secured message ? i do not want every one can use my graylog server to send message , please HELP !!!!

  • @lauramaizels1967
    @lauramaizels1967 3 роки тому

    I am listening to someone speak about graylog and said the words star 410 or start up 410 . something 410. Do anyone know what that is?

  • @limyangyi9100
    @limyangyi9100 2 роки тому

    thanks, Thanos, glad you're getting into soft instead of...well...

  • @SiBex_ovh
    @SiBex_ovh Рік тому

    Good instroduction, even for GL v5 THANKS

  • @MirkWoot
    @MirkWoot 4 роки тому

    I don't know if UniFi would report switch MAC/port changes over syslog?.
    Try getting a Cisco switch to report MAC table 😅 to graylog, omg. I spent 2 last days trying to.. syslog, nope.. Then SNMP should be possible, but SNMP graylog plugin refuses to play nice, least with cisco MIBS... OK, i get it thru Telegraf then it has options for that. Switch sends snmp notifications to Telegraf, and Telegraf reports back to graylog (it has nice and simple output for that), but nope, at most i can see something changed, but not the MAC... so far that i can see.
    It's possible however to request the mac table over snmp, but needs some serious parsing to understand which port its on.. but/and then youd haft to do that every minute, instead of just getting a notification.

  • @Tntdruid
    @Tntdruid 4 роки тому +1

    Does it need a lot of ram?

    • @emanuelmilani7976
      @emanuelmilani7976 4 роки тому

      Yes. Elastisearch is a big problem. One server is not enough even for relative small logs
      docs.graylog.org/en/4.0/pages/configuration/elasticsearch.html
      We strongly recommend to use a dedicated Elasticsearch cluster for your Graylog setup

    • @Tntdruid
      @Tntdruid 4 роки тому

      @@emanuelmilani7976 ah Thanks

    • @sku2007
      @sku2007 4 роки тому +2

      have it running in proxmox as CT container, with 4gb ram and data on zfs mirror with two 6-10 year old HDD. syslog from various vm, physical linux machines, raspberries and opnsense (but without every firewallevent). use only default index set, after about one year there are 6.8GiB of data. query works just fine, nothing to complain. so I would say, give it a try!

    • @Tntdruid
      @Tntdruid 4 роки тому +1

      @@sku2007 will do, thanks

  • @MultiTechspec
    @MultiTechspec 4 роки тому

    wonder how Graylog compares with solutions such as Kafka

  • @jamess1787
    @jamess1787 4 роки тому +2

    Last time I used elastics, I cried every 3 months having to manually rotate the DB.

  • @louisdodge104
    @louisdodge104 3 роки тому

    Unfortunately Graylog has removed the pre-built Virtual Machine Appliance downloads from the website.

  • @SuperChelseaSW6
    @SuperChelseaSW6 3 роки тому

    What version on graylog are you using?

  • @jimchisholm2433
    @jimchisholm2433 2 роки тому

    Great video.. but on a default Ubuntu 21 Graylog install I've found that using port 514 results in "permission denied" as the lower ports are restricted to all but root users (which the Graylog server apparently is not running as)
    My pfsense will not send logs on any other port than 514, despite what may be entered in the System Logs settings.
    Sio I've configured Graylog's input to port 1514 and set the server input like this:
    iptables -t nat -A PREROUTING -p tcp --dport 514 -j REDIRECT --to 1514
    iptables -t nat -A PREROUTING -p udp --dport 514 -j REDIRECT --to 1514
    Oh goody. Now I'm flooded with logs in Graylog :/

  • @atraxotoxin3840
    @atraxotoxin3840 3 роки тому

    Can you do an video on putting graylog logs into grafana. That would be much appreciated.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 роки тому

      I don't use grafana so not likely.

    • @atraxotoxin3840
      @atraxotoxin3840 3 роки тому

      @@LAWRENCESYSTEMS thank you for your response. If you happen to change things up and start working with grafana. You can send graylog logs to grafana and have beautiful siem graphs.

    • @atraxotoxin3840
      @atraxotoxin3840 3 роки тому

      Then you can integrate zabbix with grafana and pretty much have a one stop shop.

    • @atraxotoxin3840
      @atraxotoxin3840 3 роки тому

      The whole idea here is A.I for cyber security. With the graphs and the alerting system. Have scripts programmed in python or an other language to react to it. That's my project I'm working on.

  • @SuperChelseaSW6
    @SuperChelseaSW6 4 роки тому

    Make more vids bout graylog. Keep it up . We will help you out with the subs 👊🙏

  • @ItsQuintFX
    @ItsQuintFX 4 роки тому

    tried it, it's nice, but they need to resolve the timezone issue if that hasn't been solved already

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому

      Not an issue that I had so maybe it was resolved.

    • @MiguelCruzer
      @MiguelCruzer 4 роки тому

      What timezone issue?

    • @ItsQuintFX
      @ItsQuintFX 4 роки тому

      @@MiguelCruzer I live in the Netherlands and my timezone is thus gmt+1 , at the time the docker image only supported utc so I had to modify the dockerfile and re-compile it.

    • @MiguelCruzer
      @MiguelCruzer 4 роки тому +1

      @@ItsQuintFX That sounds like a config issue, I'm not sure if this is new or not but docs say any config option can be passed as an ENV_VAR preceded with the GRAYLOG_ name. docs.graylog.org/en/4.0/pages/installation/docker.html#configuration
      Hope this helpsl

  • @coldhardwick
    @coldhardwick 4 роки тому +3

    How is it you always post a video for a solution right when I'm looking for a solution?

  • @nekooolay
    @nekooolay 2 роки тому

    Can this be run on windows machine?

  • @michaelperugini4199
    @michaelperugini4199 3 роки тому

    not finding an ova for use

  • @mochammadawaludin2073
    @mochammadawaludin2073 2 роки тому

    This all use free or enterprise...?
    because all view different with free mode

  • @neilbroomfield3080
    @neilbroomfield3080 2 роки тому

    Looks like they've changed the offering around enterprise and free 5GB. Looks like it might only be 2GB now.

  • @frostfire462
    @frostfire462 4 роки тому

    Very neat product, I actually work with Splunk. This is super cool but doesn't have all the features that Splunk does. You should totally take a look at it, I know it is closed source but it is a damn good product.

    • @foobarturkey
      @foobarturkey 4 роки тому +2

      Expensive as frig

    • @frostfire462
      @frostfire462 4 роки тому

      @@foobarturkey You are telling me lol. They have some trial license floating around that lets you do some stuff at home.

  • @ronaldocorrea8007
    @ronaldocorrea8007 3 роки тому

    thanks

  • @SuperChelseaSW6
    @SuperChelseaSW6 4 роки тому

    Make a demo bout geo iplocation dashboard. Thsnks!

  • @ctownskier
    @ctownskier 4 роки тому +1

    Tom, regex101.com is my go to for testing out new expressions.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 роки тому

      Thanks I will check that out, I have been using regexr.com/

  • @djdawso
    @djdawso 4 роки тому

    I might be able to help you with some regex stuff, so hit me up if you still have questions.

  • @farcryf
    @farcryf 4 роки тому

    👍😁 since 2018

  • @SB-qm5wg
    @SB-qm5wg 4 роки тому

    Now if it had SNMP too.

  • @jus4027
    @jus4027 2 роки тому

    t-shirt made me laugh.

  • @danseparc9430
    @danseparc9430 29 днів тому

    i don't know what it is about your voice, but it is attracting my cat and she is trying to smash her face under my laptop, like trying to burrow under it. she is obsessed with my laptop. she has never done this before. nor when i pause.

  • @fullgazz
    @fullgazz Рік тому

    "1566 i like that number... " We know... ¬¬

  • @jono_in_AU
    @jono_in_AU 3 роки тому

    Suggest you check out wazuh :)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 роки тому +1

      I've used it, I'm just not competent enough at it to do tutorials

  • @user56
    @user56 3 роки тому

    i don't know why, but you always trigger siri for me. i can't for the life of me trigger it myself though...

  • @harjeetsinghramgharia6493
    @harjeetsinghramgharia6493 4 роки тому

    Recently configured myself in production. Works perfectly.
    github.com/pfelk/pfelk

  • @coenraadloubser5768
    @coenraadloubser5768 4 роки тому +2

    31:24 ^,

  • @robloxtelevisiononeofficial
    @robloxtelevisiononeofficial 2 роки тому

    better, but is also more professional

  • @Erutan409
    @Erutan409 3 роки тому

    "I'm code. I regex."
    Seriously, if you [still] need help, let me know.

  • @rennan2946
    @rennan2946 3 роки тому

    too complex artich

  • @mochammadawaludin2073
    @mochammadawaludin2073 2 роки тому

    This all use free or enterprise...?
    because all view different with free mode