Is it safe to use the same DB file for multiple inputs? #8488
Answered
by
patrick-stephens
markusthoemmes
asked this question in
Q&A
-
Pretty much as per title: Is it safe to use the same DB file for multiple inputs? I've tried it and it seems to be fine in that it stores offsets of the files of multiple inputs. I'd still be interested to know if I'm supposed to use it that way or if one database file per input is "the way". |
Beta Was this translation helpful? Give feedback.
Answered by
patrick-stephens
Feb 23, 2024
Replies: 2 comments 3 replies
-
I think it works by inode so the only complication would be if you're tailing the same file in multiple inputs then you won't get a per-input offset. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
patrick-stephens
-
+1 to this question |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it works by inode so the only complication would be if you're tailing the same file in multiple inputs then you won't get a per-input offset.