Skip to content

Commit 051820e

Browse files
author
Rishav Yaduvanshi
committed
fix output
1 parent bcf7650 commit 051820e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/platform-services/automation-service/app-central/integrations/sumo-logic-automation-tools.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ INPUT = {
4444
```
4545
```css
4646
OUTPUT = {
47-
"data": "EXAMPLE"
47+
"result": "EXAMPLE"
4848
}
4949
```
5050
2. **Strip Whitespace** - Strips whitespace from the beginning and end of a string.
@@ -57,7 +57,7 @@ INPUT = {
5757
```
5858
```css
5959
OUTPUT = {
60-
"data": "EXAMPLE STRING"
60+
"result": "EXAMPLE STRING"
6161
}
6262
```
6363
3. **Trim Leading Whitespace** - Trims leading whitespace from a string.
@@ -69,7 +69,7 @@ INPUT = {
6969
```
7070
```css
7171
OUTPUT = {
72-
"data": "MY EXAMPLE STRING"
72+
"result": "MY EXAMPLE STRING"
7373
}
7474
```
7575
4. **Trim Trailing Whitespace** - Trims trailing whitespace from a string.
@@ -81,7 +81,7 @@ INPUT = {
8181
```
8282
```css
8383
OUTPUT = {
84-
"data": "MY EXAMPLE STRING"
84+
"result": "MY EXAMPLE STRING"
8585
}
8686
```
8787
5. **Replace Text** - Replaces all occurrences of a string with another string.
@@ -95,7 +95,7 @@ INPUT = {
9595
```
9696
```css
9797
OUTPUT = {
98-
"data": "MY REPLACED STRING"
98+
"result": "MY REPLACED STRING"
9999
}
100100
```
101101
6. **Regex-Based Replacement** - Replaces all occurrences of a regex pattern with another string.
@@ -109,7 +109,7 @@ INPUT = {
109109
```
110110
```css
111111
OUTPUT = {
112-
"data": "MY REPLACED STRING"
112+
"result": "MY REPLACED STRING"
113113
}
114114
```
115115
7. **Add Prefix and/or Suffix** - Adds a prefix and/or suffix to a string.
@@ -123,7 +123,7 @@ INPUT = {
123123
```
124124
```css
125125
OUTPUT = {
126-
"data": "MY EXAMPLE STRING"
126+
"result": "MY EXAMPLE STRING"
127127
}
128128
```
129129
8. **Regex Match** - Matches a string against a regex pattern and returns the specified element.
@@ -137,7 +137,7 @@ INPUT = {
137137
```
138138
```css
139139
OUTPUT = {
140-
"data": "EXAMPLE"
140+
"result": "EXAMPLE"
141141
}
142142
```
143143
9. **Convert to Uppercase** - Converts a string to uppercase.
@@ -149,7 +149,7 @@ INPUT = {
149149
```
150150
```css
151151
OUTPUT = {
152-
"data": "MY EXAMPLE STRING"
152+
"result": "MY EXAMPLE STRING"
153153
}
154154
```
155155
10. **Convert to Lowercase** - Converts a string to lowercase.
@@ -161,7 +161,7 @@ INPUT = {
161161
```
162162
```css
163163
OUTPUT = {
164-
"data": "my example string"
164+
"result": "my example string"
165165
}
166166
```
167167
11. **Convert to Title Case** - Converts a string to title case.
@@ -173,7 +173,7 @@ INPUT = {
173173
```
174174
```css
175175
OUTPUT = {
176-
"data": "My Example String"
176+
"result": "My Example String"
177177
}
178178
```
179179
12. **Capitalize First Letter** - Capitalizes the first letter of a string.
@@ -185,7 +185,7 @@ INPUT = {
185185
```
186186
```css
187187
OUTPUT = {
188-
"data": "My example string"
188+
"result": "My example string"
189189
}
190190
```
191191
13. **Encode as UTF-8** - Encodes a string as UTF-8.
@@ -197,7 +197,7 @@ INPUT = {
197197
```
198198
```css
199199
OUTPUT = {
200-
"data": "Caf%C3%A9"
200+
"result": "b'Cafe\\xcc\\x81'"
201201
}
202202
```
203203
14. **Encode as ASCII** - Encodes a string as ASCII.
@@ -209,7 +209,7 @@ INPUT = {
209209
```
210210
```css
211211
OUTPUT = {
212-
"data": "a%2Bb%2Ac%28d%29e%5Bf%5D"
212+
"result": "b'a+b*c(d)e[f]'"
213213
}
214214
```
215215
15. **Escape Special Characters** - Escapes special characters in a string.
@@ -221,7 +221,7 @@ INPUT = {
221221
```
222222
```css
223223
OUTPUT = {
224-
"data": "a\\+b\\*c\\(d\\)e\\[f\\]"
224+
"result": "a\\+b\\*c\\(d\\)e\\[f\\]"
225225
}
226226
```
227227

0 commit comments

Comments
 (0)