Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file patch with date #117

Closed
parsibox opened this issue Jul 12, 2023 · 3 comments
Closed

file patch with date #117

parsibox opened this issue Jul 12, 2023 · 3 comments

Comments

@parsibox
Copy link

hi
i have a patch with date on it
for example logs/2023-02-15/error.log
how can define this?
date is current time ( it changed every day at 12 am )

@jdrews
Copy link
Owner

jdrews commented Jul 30, 2023

Unfortunately, wildcards are only allowed in the filename and not in the directories. I could change this but it'd be a pretty big change.

What is generating logs like this? It's a bit unusual.

@parsibox
Copy link
Author

we have some applications create a directory for each days
it is about 10 app and each app have access and error and http log
if all of this log be in a directory we will be confused

@jdrews
Copy link
Owner

jdrews commented Aug 13, 2023

Ah ok. I understand.

Unfortunately, supporting wildcards in the directory path (instead of just the filename) is not a feature I intend to build into logstation. I welcome pull requests if you want to submit one though!

@jdrews jdrews closed this as completed Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants