-
Notifications
You must be signed in to change notification settings - Fork 562
Draft: logs to logfile change #119
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,6 +90,7 @@ func inputTypesForListNode(listNode *parse.ListNode) []string { | |
| } | ||
|
|
||
| func (scp *streamConfigParsed) configForInput(inputType string) []byte { | ||
| // TODO: need to investigate | ||
| if inputType == "log" { | ||
| inputType = "file" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mtojek Do you know a package where this is used? Not sure I can follow the mapping from log to file
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I might have tried with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it mean I can ignore it?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you could try render the o365 package and judge the output (stream config). |
||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: AWS EC2 logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: s3 | ||
| template_path: s3.yml.hbs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: AWS ELB logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: s3 | ||
| template_path: s3.yml.hbs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: AWS s3access logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: s3 | ||
| template_path: s3.yml.hbs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: AWS vpcflow logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: s3 | ||
| template_path: s3.yml.hbs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: Cisco ASA logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: udp | ||
| title: Cisco ASA logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: Cisco FTD logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: udp | ||
| title: Cisco FTD logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -217,6 +217,7 @@ processors: | |
| process: function(evt) { | ||
| copyOriginalMessage.Run(evt); | ||
|
|
||
| // TOOD: Check in Beats to rename it | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @michalpristas this is interesting. It would be good if Beats would send up @ph WDYT? |
||
| if (evt.Get("input.type") === "log") { | ||
| parseSyslogFileHeader.Run(evt); | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: Cisco IOS logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: syslog | ||
| title: Cisco IOS logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: Kafka log logs | ||
| release: beta | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: logs | ||
| vars: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: Log Dataset | ||
|
|
||
| type: logs | ||
| type: logfile | ||
|
|
||
| default: true | ||
| id: generic | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: MySQL error logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: MySQL slowlog logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: Nginx access logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: Nginx error logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: Nginx ingress_controller logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: Redis application logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: logs | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| title: Redis slow logs | ||
| type: logs | ||
| type: logfile | ||
| release: beta | ||
| streams: | ||
| - input: redis | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: System auth logs | ||
| release: experimental | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: logs | ||
| vars: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| title: System syslog logs | ||
| release: experimental | ||
| type: logs | ||
| type: logfile | ||
| streams: | ||
| - input: logs | ||
| vars: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mtojek My suspicion is that I don't need to change anything here as the name here will stay the same on the module side.