Skip to content

Instantly share code, notes, and snippets.

View avdhoot's full-sized avatar

Avdhoot Dendge avdhoot

  • 23:39 (UTC -06:00)
View GitHub Profile
@avdhoot
avdhoot / export_sumologic_users.py
Last active April 8, 2022 12:42
Export sumologic users
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'
@avdhoot
avdhoot / Alacritty-5538.log
Created June 22, 2020 10:22
Alacritty debug
[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
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
{
"closed" : {
"indices" : [ "graylog_512" ],
"total" : 1
},
"reopened" : {
"indices" : [ ],
"total" : 0
},
"all" : {
@avdhoot
avdhoot / syslog-ng_install.sh
Last active August 1, 2016 09:38
install syslong-ng OSE on ubuntu 14.04 LTS
#/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