-
Notifications
You must be signed in to change notification settings - Fork 198
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
JSON Source CLI parameters #4575
base: main
Are you sure you want to change the base?
Conversation
| `sourceType` | String | Yes | | HTTP | not modifiable | | ||
| `messagePerRequest` | Boolean | Yes | | When set to `true`, only a single message will be sent for each HTTP request. To disable this feature, set to `false`. <br/>You need to specify the common parameter `multilineProcessingEnabled` as false when setting `messagePerRequest` to `true`. | modifiable | | ||
| `url` | String | No | URL assigned by Sumo for Source | The Source's unique HTTP endpoint web address. | not modifiable | | ||
###### `fields` |
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.
@kimsauce, I like the older layout better. I find info like | JSON Object | Optional | Modifiable |
listed under each parameter a little confusing. But if you want to go ahead and use the new layout, go for it.
|
||
In addition to the [common parameters](/docs/send-data/use-json-configure-sources/#common-parameters-for-log-source-types), the following parameters are specific to local file sources. | ||
|
||
###### `sourceType` |
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.
Same comment as above for the new layout of parameters in this article.
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.
Approved (with minor reservations). 😄
Purpose of this pull request
JSON Source CLI parameters are too difficult to navigate in large tables. I pulled each parameter out and formatted them with distinct headings, specifying the field type, whether it's optional or modifiable, and any default values. Each parameter now has a concise description underneath, making it easier to scan and understand the options.
Select the type of change
Ticket (if applicable)
https://sumologic.atlassian.net/browse/DOCS-373