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

Support * globs in dogstream file configuration #753

Closed
clofresh opened this issue Dec 10, 2013 · 13 comments
Closed

Support * globs in dogstream file configuration #753

clofresh opened this issue Dec 10, 2013 · 13 comments
Assignees
Milestone

Comments

@clofresh
Copy link
Contributor

So that this will do the Right Thing(tm):

dogstreams: /var/log/mydir/*.log

@neopunisher
Copy link

+1

@gtaylor
Copy link

gtaylor commented Apr 16, 2015

Bigtime! Trying to write some Ansible playbooks now, but the requirement that this directive only appear once is complicating things. Various roles require different dogstreams.

@gtaylor
Copy link

gtaylor commented Apr 17, 2015

Pull request plus tests sent!

@gtaylor
Copy link

gtaylor commented Apr 18, 2015

Took this to an even higher level in #1557 with a dogstreams.d feature (similar to conf.d and checks.d). You can drop YAML files in and wildcarding is supported.

@Nuxij
Copy link

Nuxij commented May 5, 2015

+1000 I was just about to start work on making the dogstreams config support much better, but this guy has nailed it. Props to you @gtaylor

@gtaylor
Copy link

gtaylor commented May 5, 2015

@joeasaurus It's a bit disappointing not to hear a peep from the Datadog maintainers, since this is IMO a glaring omission. I'm not sure whether to even waste the time rebasing this given the lack of response.

@Nuxij
Copy link

Nuxij commented May 5, 2015

I for one would be most grateful.

@gtaylor
Copy link

gtaylor commented May 5, 2015

Yeah, I just don't want to waste any more time on it if they aren't going to accept it. Feel free to encourage them to take a look at this if it's causing you pain in your usage case.

@R4wizard
Copy link

R4wizard commented May 6, 2015

+1

@LeoCavaille
Copy link
Member

@gtaylor thanks again for this new feature, sorry that we didn't have time to review it sooner. Let's get to it and review that for 5.4. If we need to put more work on it, we can help you do that.

@LeoCavaille LeoCavaille modified the milestones: 5.4.0, Future May 6, 2015
LeoCavaille pushed a commit that referenced this issue May 6, 2015
@yannmh yannmh self-assigned this Jun 5, 2015
yannmh pushed a commit that referenced this issue Jun 8, 2015
Fix #753.
[[email protected]] rebased current work to fix merge conflicts.
yannmh pushed a commit that referenced this issue Jun 8, 2015
Fix #753.
[[email protected]] rebased current work to fix merge conflicts.
@yannmh yannmh closed this as completed in 6b16f29 Jun 8, 2015
@Nuxij
Copy link

Nuxij commented Jun 8, 2015

@yannmh It seems to me as though you lost my fix to use dogstreams.d exclusively?

https://github.com/Aclima/dd-agent/pull/1/files

@yannmh
Copy link
Member

yannmh commented Jun 8, 2015

Hi @joeasaurus,

Your fix is still on his way (#1557) and should be reviewed shortly. Thanks again for your contribution 😃

This specific issue was solved with #1550

@Nuxij
Copy link

Nuxij commented Jun 9, 2015

Aaaah no worries, thanks :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants