Parsing Best Practices #57
-
|
Firstly, thanks 🙏🏽 for this project! I'm not that knowledgeable about logs, but this project is helping me understand it a bit better. I have My high level goal 🥅 is to capture logs for each of my LXC containers so that I can at least parse them by each container. A secondary goal is to parse them by service. This is my first introduction to The types of integrations/services that can send data is quite extensive and thanks for documenting it. I like the Anyway, thanks 🙏🏽 again for the project! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hey! Thanks so much for the kind words and for sharing your setup, this is exactly the kind of feedback that helps shape LogWard's direction! Great to hear you're successfully getting logs from Proxmox via rsyslog → Fluent Bit → LogWard. Let me address your questions: Service CategorizationThe Quick fix for Fluent Bit: This will at least categorize them. For more granular control per LXC container, you could:
LXC Container FilteringFor your primary goal (parsing by container), I'd recommend: Option 1 - Via rsyslog templates: Option 2 - Via Fluent Bit parsing: Where to StartGiven you're new to this stack, I'd suggest:
Would you be open to sharing a sample of your current Fluent Bit config? I can give you more specific suggestions. Also, this discussion is making me realize we should add a dedicated guide for Proxmox/LXC setups, it's a common use case! Quick ReferenceFor your secondary goal (service-level parsing), you could:
Let me know if you want to dive deeper into any of these approaches |
Beta Was this translation helpful? Give feedback.
Hey! Thanks so much for the kind words and for sharing your setup, this is exactly the kind of feedback that helps shape LogWard's direction!
Great to hear you're successfully getting logs from Proxmox via rsyslog → Fluent Bit → LogWard. Let me address your questions:
Service Categorization
The
Servicefield in LogWard is populated from theservicefield in your log entries. Since you're seeing "unknown", it means this field isn't being set by Fluent Bit when forwarding the logs.Quick fix for Fluent Bit:
You can add the service name in your Fluent Bit configuration using the
record_modifierfilter: