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
DROP TABLE IF EXISTS location; | |
CREATE TABLE `location` ( | |
`geoname_id` bigint(20) NOT NULL, | |
`locale_code` varchar(5) DEFAULT NULL, | |
`continent_code` varchar(5) DEFAULT NULL, | |
`continent_name` varchar(50) DEFAULT NULL, | |
`country_iso_code` varchar(5) DEFAULT NULL, | |
`country_name` varchar(50) DEFAULT NULL, | |
`subdivision_1_iso_code` varchar(5) DEFAULT NULL, |
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
0xfbc93807545DAab2b476Dc312dA72838177f4181 |
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
#!/bin/bash | |
# This script can be used to raise a graylog2/gelf message | |
# gzip it and send it to a graylog server using netcat (nc) | |
grayloghost='000.000.000.000' #Graylog Server IP or host here | |
hostname='gelftester' | |
short_message='test message short version' | |
full_message='longer test message. dont\n worry be happy' | |
level=1 | |
facility='gelftester' |