Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
etc /
vector /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
docs_example.yaml
1.48
KB
-rw-r--r--
environment_variables.yaml
1.16
KB
-rw-r--r--
es_s3_hybrid.yaml
1.27
KB
-rw-r--r--
file_to_cloudwatch_metrics.yam...
1.07
KB
-rw-r--r--
file_to_prometheus.yaml
1.29
KB
-rw-r--r--
prometheus_to_console.yaml
461
B
-rw-r--r--
stdio.yaml
354
B
-rw-r--r--
wrapped_json.yaml
1.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : file_to_cloudwatch_metrics.yaml
# Parsing logs as metrics and sending to CloudWatch # ------------------------------------------------------------------------------ # WIP data_dir: "/var/lib/vector" # Ingest sources: file: type: "file" include: [ "sample.log" ] start_at_beginning: true # Structure and parse the data transforms: remap: inputs: [ "file" ] type: "remap" drop_on_error: false source: | . |= parse_apache_log!(string!(.message), "common") # Transform into metrics log_to_metric: inputs: [ "remap" ] type: "log_to_metric" metrics: - type: "counter" increment_by_value: true field: "bytes_out" tags: method: "{{method}}" status: "{{status}}" # Output data sinks: console_metrics: inputs: [ "log_to_metric" ] type: "console" encoding: codec: "json" console_logs: inputs: [ "remap" ] type: "console" encoding: codec: "json" cloudwatch: inputs: [ "log_to_metric" ] type: "aws_cloudwatch_metrics" namespace: "vector" endpoint: "http://localhost:4566"
Close