Skip to content

Commit c21254a

Browse files
committed
Review markups
1 parent 7257d5a commit c21254a

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

articles/operator-insights/ingestion-agent-configuration-reference.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,16 @@ pipelines:
5151
# Pipeline IDs must be unique for a given agent instance. Any URL reserved characters must be percent-encoded.
5252
- id: mcc-edrs
5353
source:
54-
mcc_edrs: <mcc edrs source configuration>
55-
sink: <sink configuration>
54+
mcc_edrs:
55+
<mcc edrs source configuration>
56+
sink:
57+
<sink configuration>
5658
- id: contoso-logs
5759
source:
58-
sftp_pull: <sftp pull source configuration>
59-
sink: <sink configuration>
60+
sftp_pull:
61+
<sftp pull source configuration>
62+
sink:
63+
<sink configuration>
6064
```
6165
6266
## Sink configuration
@@ -153,10 +157,10 @@ source:
153157
# The path to a folder on the SFTP server that files will be uploaded to Azure Operator Insights from.
154158
base_path: /path/to/sftp/folder
155159
# Optional. A regular expression to specify which files in the base_path folder should be ingested. If not specified, the agent will attempt to ingest all files in the base_path folder (subject to exclude_pattern, settling_time and exclude_before_time).
156-
include_pattern: ".*\.csv$"
160+
include_pattern: ".*\.csv$" # Only include files which end in ".csv"
157161
# Optional. A regular expression to specify any files in the base_path folder which should not be ingested. Takes priority over include_pattern, so files which match both regular expressions will not be ingested.
158162
# The exclude_pattern can also be used to ignore whole directories, but the pattern must still match all files under that directory. e.g. `^excluded-dir/.*$` or `^excluded-dir/` but *not* `^excluded-dir$`
159-
exclude_pattern: "\.backup$|^\.staging/"
163+
exclude_pattern: "^\.staging/|\.backup$" # Exclude all file paths that start with ".staging/" or end in ".backup"
160164
# A duration, such as "10s", "5m", "1h".. During an upload run, any files last modified within the settling time are not selected for upload, as they may still be being modified.
161165
settling_time: 1m
162166
# Optional. A datetime that adheres to the RFC 3339 format. Any files last modified before this datetime will be ignored.

articles/operator-insights/monitor-troubleshoot-ingestion-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ Symptoms: No data appears in Azure Data Explorer. Logs of category `Ingestion` d
119119
120120
- Check that the agent is running on all VMs and isn't reporting errors in logs.
121121
- Check that files exist in the correct location on the SFTP server, and that they aren't being excluded due to file source config (see [Files are missing](#files-are-missing)).
122-
- Check the network connectivity and firewall configuration between the ingestion agent VM and the Data Product's input storage account.
123122
- Ensure that the configured SFTP user can read all directories under the `base_path`, which file source config doesn't exclude.
123+
- Check the network connectivity and firewall configuration between the ingestion agent VM and the Data Product's input storage account.
124124
125125
### Files are missing
126126

articles/operator-insights/set-up-ingestion-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ On the SFTP server:
139139
140140
1. Ensure port 22/TCP to the VM is open.
141141
1. Create a new user, or determine an existing user on the SFTP server that the ingestion agent should use to connect to the SFTP server.
142-
- The ingestion agent searches every directory under the base path, which isn't excluded, so this user must be able to read all of them.
142+
- By default the ingestion agent searches every directory under the base path, so this user must be able to read all of them. Any directories that the user does not have permission to access must be excluded using the `exclude_pattern` configuration.
143143
> [!Note]
144144
> Implicitly excluding directories by not specifying them in the included pattern is not sufficient to stop the agent searching those directories. See [the configuration reference](ingestion-agent-configuration-reference.md) for more detail on excluding directories.
145145
1. Determine the authentication method that the ingestion agent should use to connect to the SFTP server. The agent supports:

0 commit comments

Comments
 (0)