-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some changes to make it work directly from scripted input.
- Loading branch information
Showing
5 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# splunk-ta-journald | ||
# Splunk-TA-journald |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# | ||
# Scripted input for on-boarding journald logs into Splunk | ||
# | ||
|
||
[script://./bin/get-journald-logs.sh] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
# | ||
# Setup linux:journald sourcetype as JSON input | ||
# | ||
|
||
[linux:journald] | ||
KV_MODE = json | ||
#MAX_TIMESTAMP_LOOKAHEAD = 10 | ||
NO_BINARY_CHECK = 1 | ||
SHOULD_LINEMERGE = false | ||
TIME_FORMAT = %s | ||
TIME_PREFIX = \"__REALTIME_TIMESTAMP\" : \" | ||
pulldown_type = 1 | ||
TZ=UTC | ||
|
||
# EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
This directory holds the state file. | ||
This directory holds the journald state as well as the last log file. | ||
If you ever need to reset this input just delete the journald.* files. |