question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to get everything from journal?

See original GitHub issue

System works fine with unit filters, but how to get everything from journal , e.g as plain journalctl would return?

tried with empty filters [], assuming that _TRANSPORT would always return something and thus not block jq transformer changing the record.source. <source> @id journald-all @type systemd @label @SPLUNK tag journald.all:all path "/run/log/journal" filters [] read_from_head true <storage> @type local persistent true </storage> <entry> field_map {"MESSAGE": "log", "_TRANSPORT": "source"} field_map_strict true </entry> </source>

fluentd log looks perfectly fine, conf is read ok, but nothing from systemd comes out to Splunk ( all other source types do continue working) . If i switch back to systemd <source>s with unit filters, starts working.

Any help is appreciated…

Thanks in advance, Jan

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sayeedccommented, Apr 16, 2019

This should work `<source> @id journald-all @type systemd @label @SPLUNK tag journald.journal:all path “/run/log/journal” matches [] read_from_head true <storage> @type local persistent true </storage> <entry> field_map {“MESSAGE”: “log”, “_SYSTEMD_UNIT”: “source”} field_map_strict true </entry>

</source>`
0reactions
chaitanyaphalakcommented, Jul 29, 2019

Closing the issue as @sayeedc has got it working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

18 Life-Changing Tips For Keeping A Journal - BuzzFeed
1. Always carry your journal with you. · Columbia Pictures ; 2. Keep your entries short. · Warner Bros. ; 3. Use a...
Read more >
How to get access to full journal articles - The Informed SLP
A paywall for a single journal article, between $30 and $60. ... Well, because University folks have "free" access to all journal articles ......
Read more >
How To Use Journalctl to View and Manipulate Systemd Logs
The most basic of these which you might use daily, is the -b flag. This will show you all of the journal entries...
Read more >
How to get your research published… …and then noticed.
that not all journals accept all types of article… NB: In this booklet, you'll find guidance for writing and publishing a full article...
Read more >
The Ultimate Bullet Journal Setup Guide: Get Started Today ...
The A5 MEDIUM notebooks are the perfect size with a wide range of colors making them ideal companions for all walks of life...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found