This file contains 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
mutate { | |
type => "PaloAltoTestTrafficLog" | |
add_field => ["SourceAddressFQDN", ""] | |
add_field => ["DestinationAddressFQDN", ""] | |
} | |
mutate { | |
type => "PaloAltoTestTrafficLog" | |
replace => [ "SourceAddressFQDN", "%{SourceAddress}" ] | |
replace => [ "DestinationAddressFQDN", "%{DestinationAddress}" ] |
This file contains 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
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11 | |
PassengerRuby /usr/bin/ruby | |
<VirtualHost *:80> | |
ServerName logs.example.com | |
ServerAlias logs.example.com | |
DocumentRoot /home/httpd/Kibana/public |
This file contains 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
# CSV filter. Takes an event field containing CSV data, parses it, | |
# and stores it as individual fields (can optionally specify the names). | |
# | |
# Example config: | |
# filter { | |
# grok { | |
# type => "SomeSyslogType" | |
# pattern => "%{SYSLOGTIMESTAMP} %{HOSTNAME} %{GREEDYDATA:csvdata}" | |
# } | |
# |
This file contains 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
Connect-VIServer -Server vcenter.example.com -User someuser | |
$output = "c:\datastores.csv" | |
$report = @() | |
foreach ($ds in Get-Datastore) { | |
$row = "" | Select Name, FreeSpaceMB, CapacityMB | |
$row.FreeSpaceMB = $ds.FreeSpaceMB | |
$row.Name = $ds.Name | |
$row.CapacityMB = $ds.CapacityMB | |
$report += $row |
NewerOlder