Skip to content

Commit

Permalink
Remove empty strings from source request JSON
Browse files Browse the repository at this point in the history
A ```defaultDateFormat``` of ```""``` means the format is being set to the empty string, not that there is no ```defaultDateFormat``` specified. 

This commit:
- Removes unnecessary transient fields (```alive```, ```status```)
- Removes incorrect configurations (empty ```description```, ```defaultDateFormat```)
  • Loading branch information
Jose Muniz Navarro committed Jan 22, 2014
1 parent dcc3b8c commit d188138
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions templates/default/sumo.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@
{
"name": "Messages",
"sourceType": "LocalFile",
"alive": true,
"status": "",
"automaticDateParsing": true,
"multilineProcessingEnabled": false,
"useAutolineMatching": true,
"forceTimeZone": false,
"defaultDateFormat": "",
"timeZone": "UTC",
"description": "",
"filters": [],
"category": "OS/Linux/System",
"blacklist": [],
Expand All @@ -21,15 +17,11 @@
{
"name": "Secure",
"sourceType": "LocalFile",
"alive": true,
"status": "",
"automaticDateParsing": true,
"multilineProcessingEnabled": false,
"useAutolineMatching": true,
"forceTimeZone": false,
"defaultDateFormat": "",
"timeZone": "UTC",
"description": "",
"filters": [],
"category": "OS/Linux/Security",
"blacklist": [],
Expand All @@ -38,15 +30,11 @@
{
"name": "Syslog File",
"sourceType": "LocalFile",
"alive": true,
"status": "",
"automaticDateParsing": true,
"multilineProcessingEnabled": false,
"useAutolineMatching": true,
"forceTimeZone": false,
"defaultDateFormat": "",
"timeZone": "UTC",
"description": "",
"filters": [],
"category": "OS/Linux/System",
"blacklist": [],
Expand Down

0 comments on commit d188138

Please sign in to comment.