-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5477d9
commit 54c5988
Showing
4 changed files
with
38 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Value CTID (\d+) | ||
Value NPROC (\d+) | ||
Value STATUS (\w+) | ||
Value IP_ADDR (\S+) | ||
Value HOSTNAME (\S+) | ||
|
||
Start | ||
^\s*CTID\s+NPROC\s+STATUS\s+IP_ADDR\s+HOSTNAME\s*$$ | ||
^\s*${CTID}\s*${NPROC}\s*${STATUS}\s*(-|${IP_ADDR})\s*${HOSTNAME}\s*$$ -> Record | ||
^. -> Error |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CTID NPROC STATUS IP_ADDR HOSTNAME | ||
1110 1 running - something | ||
1111 111 running 192.168.0.1 something-bad | ||
1112 11 running - something-ugly | ||
1113 11 running - something-good |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
parsed_sample: | ||
- ctid: "1110" | ||
hostname: "something" | ||
ip_addr: "" | ||
nproc: "1" | ||
status: "running" | ||
- ctid: "1111" | ||
hostname: "something-bad" | ||
ip_addr: "192.168.0.1" | ||
nproc: "111" | ||
status: "running" | ||
- ctid: "1112" | ||
hostname: "something-ugly" | ||
ip_addr: "" | ||
nproc: "11" | ||
status: "running" | ||
- ctid: "1113" | ||
hostname: "something-good" | ||
ip_addr: "" | ||
nproc: "11" | ||
status: "running" |