You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the last command, press Ctrl-C to see the gaps in the received data. Since we started the counter on 100, there should at least be one gap: 1-99.
19
19
20
20
### Latest Release Notes
21
+
22
+
### 1.1-5
23
+
Added a property --print-keys (-pk) to the KafkaInputItem to print the Kafka key for lines read.
24
+
Added a property --start-number (-sn) to the CounterInputItem to alter the start number
25
+
21
26
#### 1.1-4
22
27
Changed kafka-clients dependency version from 3.7.1 to 3.9.1 due to CVE-2025-27817
23
28
@@ -162,7 +167,7 @@ Parameters and example, see below in the Q&A section.
Example: `-i kafka -ci test -t testtopic -b localhost:9092`
168
173
@@ -174,7 +179,7 @@ The main use case is to get one field from an index and send to a receiver, for
174
179
Parameters: `-i elastic --hostname {hostname or ip} -p {port number} -i {index name} -f {field to get} -ak {API key} -c {x.509 certificate in cer format} -q {query string in query dsl format}`
175
180
176
181
Example:
177
-
```properties
182
+
```ini
178
183
# Elasticsearch
179
184
input=elastic
180
185
# Elastic instance to connect to
@@ -295,7 +300,7 @@ The main use case is to be able to generate events with _id set to some enumerab
295
300
296
301
Parameters `-o elastic --hostname {hostname or ip} --port {port number} --index {index} --api-key {API Key} --regex {regex to find an id from input} --id {format for output id} --certificate-path {X.509 certificate for the elastic server in cer format}`
297
302
298
-
```properties
303
+
```ini
299
304
# Elasticsearch
300
305
output=elastic
301
306
# Elastic instance to connect to
@@ -728,7 +733,7 @@ A combination of parameters from the command line and property file is possible.
728
733
The property file can have all short- or long names for configuration. Comment lines start with the hash character '#'.
729
734
730
735
Example:
731
-
```properties
736
+
```ini
732
737
# Start an udp proxy, listening on port 9999, rewriting dates to the current date.
733
738
# Dates are parsed according to a specified format and finally sending the result
734
739
# to a syslog server.
@@ -774,15 +779,15 @@ There are three ways to add custom variables:
774
779
775
780
Example:
776
781
Say you would like to always exchange the text `{company-name}` in a template with `sitia.nu`. Then add the following to a property file (let's call it variables.properties):
777
-
```properties
782
+
```ini
778
783
company-name=sitia.nu
779
784
```
780
785
and add that file to the property file loaded by `-pf` on the command to LogGenerator:
781
-
```properties
786
+
```ini
782
787
variable-file=variables.properties
783
788
```
784
789
If you only have a small number of custom variables, you could just load all of them in the property file loaded by `-p`:
785
-
```properties
790
+
```ini
786
791
custom.company-name=sitia.nu
787
792
```
788
793
Custom variables can contain variables.
@@ -1071,7 +1076,7 @@ Also, you can omit the escape:
1071
1076
-f gap --regex "<(\d+)>"
1072
1077
```
1073
1078
But, in the property file you have to write the regex as is, without extra escape characters, like
0 commit comments