This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pool: storage | |
state: ONLINE | |
config: | |
NAME STATE READ WRITE CKSUM | |
storage ONLINE 0 0 0 | |
usb-Seagate_Expansion_Desk_2HC015KJ-0:0 ONLINE 0 0 0 | |
usb-Seagate_Backup+_Hub_BK_NA9RLEL2-0:0 ONLINE 0 0 0 | |
errors: No known data errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
storage: | |
version: 5000 | |
name: 'storage' | |
state: 0 | |
txg: 230720 | |
pool_guid: 14712923194199990925 | |
errata: 0 | |
hostname: 'nuc' | |
com.delphix:has_per_vdev_zaps | |
vdev_children: 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface-name=mydomain.com,eth0 | |
cname=*.mydomain.com,mydomain.com | |
auth-zone=mydomain.com,eth0 | |
auth-server=mydomain.com,eth0 | |
interface=eth0 | |
no-dhcp-interface=true | |
expand-hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@timestamp": "2022-04-20T22:05:01.466Z", | |
"@metadata": { | |
"beat": "metricbeat", | |
"type": "_doc", | |
"version": "7.17.0" | |
}, | |
"metricset": { | |
"name": "perfmon", | |
"period": 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
beats { | |
port => "5245" | |
tags => [ "activedirectory-stats" ] | |
} | |
} | |
filter { | |
json { | |
source => "event" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
file = File.read('./event.json') | |
event = JSON.parse(file) | |
keys = event['windows']['perfmon']['metrics'] | |
hash=keys.map { |key, value| | |
key.split('_').reverse.reduce(value) { | |
|key_value, next_key| { | |
next_key => key_value | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@timestamp": "2022-04-20T22:05:01.466Z", | |
"@metadata": { | |
"beat": "metricbeat", | |
"type": "_doc", | |
"version": "7.17.0" | |
}, | |
"metricset": { | |
"name": "perfmon", | |
"period": 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
file = File.read('./event.json') | |
event = JSON.parse(file) | |
keys = event['windows']['perfmon']['metrics'] | |
hash=keys.map { |key, value| | |
key.split('_').reverse.reduce(value) { | |
|key_value, next_key| { | |
next_key => key_value | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"dra":{"inbound":{"bytes":{"compressed":{"intrasite":{"aftercomp":{"sinceboot":581310384}}}}}}} | |
{"dra":{"inbound":{"bytes":{"compressed":{"total":{"sec":4440.169084727925}}}}}} | |
{"dra":{"inbound":{"bytes":{"compressed":{"intrasite":{"aftercomp":{"sinceboot":581310384}}},"total":{"sec":4440.169084727925}}}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"dra": { | |
"inbound": { | |
"bytes": { | |
"total": { | |
"sec": 4440.169084727925 | |
} | |
} | |
} |