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
import sys | |
import requests | |
import csv | |
from requests.auth import HTTPBasicAuth | |
# how to get keys --> https://api.sumologic.com/docs/#section/Getting-Started/Authentication | |
sumo_key = '' | |
sumo_secret = '' | |
sumo_region = 'us2' |
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
[2020-06-22 15:49:28.836506513] [INFO] Welcome to Alacritty | |
[2020-06-22 15:49:28.836706689] [INFO] No configuration file found | |
[2020-06-22 15:49:28.940187967] [INFO] Device pixel ratio: 1.5 | |
[2020-06-22 15:49:28.944133256] [INFO] Initializing glyph cache... | |
[2020-06-22 15:49:29.005741327] [INFO] ... finished initializing glyph cache in 0.06155706s | |
[2020-06-22 15:49:29.005801488] [INFO] Cell Size: 1 x 1 | |
[2020-06-22 15:49:29.005818040] [INFO] Padding: 0 x 0 | |
[2020-06-22 15:49:29.005837227] [INFO] Width: 800, Height: 600 | |
[2020-06-22 15:49:29.009915780] [INFO] PTY Dimensions: Line(600) x Column(800) | |
[2020-06-22 15:49:29.058609474] [INFO] Initialisation complete |
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
2018-01-30 13:37:43,471 INFO : org.graylog2.system.jobs.SystemJobManager - Submitted SystemJob <bfd03dd0-05c2-11e8-b071-0242ac120002> [org.graylog2.indexer.ranges.RebuildIndexRangesJob] | |
2018-01-30 13:37:43,471 INFO : org.graylog2.indexer.ranges.RebuildIndexRangesJob - Recalculating index ranges. | |
2018-01-30 13:37:43,476 INFO : org.graylog2.indexer.ranges.RebuildIndexRangesJob - Recalculating index ranges for index set Default index set (graylog_*): 32 indices affected. | |
2018-01-30 13:38:15,232 INFO : org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Validating all active sessions... | |
2018-01-30 13:38:15,234 INFO : org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Finished session validation. No sessions were stopped. | |
2018-01-30 13:38:38,724 WARN : org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupProcessor - AWS plugin is not fully configured. No instance lookups will happen. | |
2018-01-30 13:38:42,859 WARN : org.graylog.aws.processors.instancelookup.AWSInstanceNameLookupP |
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
{ | |
"closed" : { | |
"indices" : [ "graylog_512" ], | |
"total" : 1 | |
}, | |
"reopened" : { | |
"indices" : [ ], | |
"total" : 0 | |
}, | |
"all" : { |
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 | |
wget -O- http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_14.04/Release.key | apt-key add - | |
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/syslog-ng-ose.list" | |
sudo apt-get update | |
sudo apt-get install syslog-ng-core |