/srv/irclogs.ubuntu.com/2016/12/01/#ubuntu-uk.txt

diddledanhaha: https://twitter.com/SwiftOnSecurity/status/80411580729904742400:13
foobarryahhh figured out why ctrl-R in my terminal stopped working..simple screen recorder was stomping on it09:00
davmor2Morning all09:04
popeyGreetings from London.09:54
JamesTaitGood morning all! Happy Thursday, and a peaceful World AIDS Day. 🎗09:55
davmor2JamesTait: whenever I hear about aids this is the song that drops into my head https://www.youtube.com/watch?v=oB4K0scMysc so let it be this09:59
brobostigonmorning boys and girls.10:06
foobarryany logstash users in here?10:14
SuperMattmorning10:14
SuperMattI'm using it, but I don't know how it works10:15
foobarryyeah10:15
foobarrywondered about a best practice question10:15
SuperMattlike?10:15
foobarrydo i edit rsyslog.conf to send some logs or use shipper10:15
SuperMattWe use filebeat10:15
foobarrydo you have shexy kibana screens?10:17
foobarrymy kibaan screen is ugggglu10:17
SuperMattyup, we have a full RELK stack10:17
foobarrygot any screenshots you are allowed to show?10:22
=== christel_ is now known as Guest94477
SuperMattfoobarry: probably not ;)11:56
=== alan_g is now known as alan_g|lunch
diddledanfoobarry:  https://usercontent.irccloud-cdn.com/file/EdQlJiZQ/kibana%20screenie12:12
diddledannote, I've just reset the index on that so it's not got full data12:13
foobarrycool12:15
foobarryand kibana 5 :)12:15
foobarryi really need to learn hwo to do awesomes12:15
foobarryhwo are you separating lines?12:18
foobarrymaybe i need to get onto k5 and get cracking on that12:19
diddledaneach entry has a term of channel which I'm using as the split12:19
foobarryis that a field?12:19
diddledanI've set the x-axis to timestamp and then aggregated by channel.keyword12:20
diddledanyes a field12:20
foobarryi have "password failed from user XXX"12:20
foobarryso i'm looking to regexp out the user and plot a pie chart of most failed users12:20
diddledanI have no idea how to do that :-p12:21
diddledanI split everything out using logstash so I would put a grok rule in for "password failed from user ${DATA:username}"12:22
diddledanthat'll then save a new field called username12:22
diddledanyou could also do a match where if the entry is a password failed entry then set another field indicating the type of message rather than just storing the message and trying to grok it after it's in the db12:23
diddledanso for those irc logs I'm pulling out as much as I can into fields and also including the full raw message12:24
diddledanexample of some of my data https://usercontent.irccloud-cdn.com/file/y1RBy9xs/12:25
diddledanyou can see each field separated there12:25
foobarryneat, thanks12:37
foobarrywhich file is the grokking done again? filter?12:37
diddledangrok is done in /etc/logstash/conf.d/*12:37
diddledanit's a step before inserting the data12:38
diddledanso it's done as you receive it rather than as you analyse it12:38
diddledanreceive -> logstash/grok -> elasticsearch -> use it12:39
foobarrymerci buckets12:39
diddledanhah, it's not just me that says it like that then :-p12:40
=== alan_g|lunch is now known as alan_g
=== jbassett is now known as jasonbas
=== jasonbas is now known as jasonbassett
Safiyyahhi guys, is anyone around?14:13
SafiyyahI am wondering how to synchronise thunderbird mail between the desktop and the laptop. Desktop has Xubuntu 16.04 and laptop has MATE 16.0414:14
SafiyyahThe e-mail is synchronised but not the contacts14:14
Safiyyahthe second problem is about the shell command line interface. If there an idiot's guide online regarding how to use it. everything I try seems too complex. All I want is to be able to access my desktop files from my laptop14:15
foobarryhttp://rik.smith-unna.com/command_line_bootcamp14:16
SafiyyahThanks foobarry but I don't see anything regarding the ssh shell?14:19
foobarryyou didn't mention ssh? i think you mean bash?14:20
AzelphurI had an interesting idea with my TV. It doesn't support remote control over IP (so no smartphone app, etc) I emailed them asking to implement it, or to give me the source so I could implement it myself, obviously they refused, so I posted what they sent me on Facebook, https://www.facebook.com/HisenseUK/posts/179731784381376215:05
Azelphurnot sure if I'll win, be interesting to see if I can get them to improve the software (or let me improve the software -_-)15:05
jasonbassettSafiyyah:  I synced thunderbird on 2 machine by syncronising the profile directory using rsync.  This worked well for me, despite suggestions I would get issues because the profile was named the same.15:08
jasonbassettit was not a live syncronisation, by that I mean I would sync my office pc to my home pc as I left the office so when I arrived home, I could fire up Thunderbird and it would be as I left it work.15:14
jasonbassettprofile corruption may ensue if you have thunderbird open on either pc whilst rsync runs.15:15
jasonbassettIt would be nice if thunderbird had built in sync, just like firefox does for bookmarks, saved passwords etc.15:15
Safiyyahokay15:16
Safiyyahso I shouldn't open the desktop and the laptop15:17
Safiyyahat the same time?15:17
Safiyyahjasonbassett15:17
jasonbassettcorrect, when syncing, I always had thunderbird closed.  I started the sync script when I left the office so it had synced to my home system by the time I got home.15:18
jasonbassettMay be a better way to achieve this now, but that was the best I could come up with then, about 3 years ago15:19
=== jbassett is now known as jasonbassett
=== jbassett is now known as jasonbassett
daftykinsSafiyyah: yay17:59
daftykinsSafiyyah: did you really doubt me that dumping VGA would solve all your problems? ;)18:00
zmoylan-pisad to see vga going...18:10
daftykinswhen someone has to use a modeline in their xorg.conf in 2016? i don't think so (:18:11
MartijnVdSdaftykins: when you want to boot before attaching the screen :)18:11
MartijnVdSor when using a screen from the stone age18:11
daftykinsor when getting a buggy EDID18:12
zmoylan-pimy stone age screens work fine, thank you very much :-)18:12
daftykinssuch as is the case with this topic18:12
* zmoylan-pi is currently trying to convince myself to send 2 of the 3 monitors i have for recycling keeping the oldest one as it alse has scart as well as vga18:16
daftykinsand what's such an old interface going to be used for? :)18:19
zmoylan-piit talks to my rasp pi b :-)18:19
zmoylan-piwith a bit of jiggery pokery and wacky cable connectors18:19
daftykinsoh because you lack HDMI, i remember now18:20
zmoylan-piif i ditch the 2 monitors i could then get a hdmi one and enter reluctanly the 21st century... but i usually prefer to jump to tech after it's successor has been out a few years :-D18:21
zmoylan-pii switched to win2000 at work after sp2 came out for winxp.  i switched to winxp when windows 7 came along...18:22
daftykinsthat... sounds unwise18:23
daftykinsdo you also run outdated Linux versions too? ;)18:24
zmoylan-pi1) it annoyed management 2) very few people sit and use your pc unless there is no other alternative :-)18:24
zmoylan-pi3) older versions of windows run like hot snot on newer hardware18:25
zmoylan-pipossibly with the exception of vista which i never saw go fast on any hardware... :-P18:26
daftykinsSP2 slipstreamed media would install and run pretty well for about 5 minutes, but yeah it ground to a halt big time, never known a version so bad18:37
daftykins(of Vista)18:37
zmoylan-pii think it was the prefetch filling ram which on lower specced machines killed performance18:37
zmoylan-pii remember quite a few vista machines that never had the hd led turn off18:38
daftykinswell i saw ones with upgraded RAM and SSDs still be cringeworthily slow, so who knows18:38
daftykinsglad to see it's going fully EOL this April :)18:39
zmoylan-pii think it was still using virtual memory so probably shortened the lifespans of a few ssds too18:39
daftykinshad a client today ask me to buy them a brand new Dell laptop for £916 because they were too impatient to wait for another Dell outlet one to come up for £680, nice to have that little concern for money...18:42
zmoylan-pinice to have customers who don't check the bills as well :-P18:42
daftykinsto be honest i always put in their own cards and let them pay for things at cost18:44
daftykinslots less hassle dealing with the paperwork then and i don't have to go through this time of year with thousands of pounds of minuses on my own accounts until they pay me back18:44
zmoylan-pisimplfies things a smidge18:45
daftykinsapart from him making me buy it for him 'cause he's useless XD18:53
daftykinssome o' them folk refer to buying things online as some kind of magic i do...18:54
zmoylan-pifor some they're terrified of getting scammed so avoid online transactions18:58
daftykinsdefinitely not the case here, just act like it's some kind of puzzle19:00
zmoylan-piblinded by pc advertising and have no clue what they are meant to be ordering?19:02
daftykinsno, just the online process19:03
kbinghamWhats the easiest way to strip a filename extension in shell in a portable way ? (read as support 'dash', and busybox 'sh')19:30
kbinghamI'm assuming my only real portable way is to 'sed' it out.19:30
kbinghammy actual goal is to make a file.bin become file.png : PNG=${FILE/bin/png}19:31
SuperMattyeah, I'd sed it19:32
SuperMattsed -e "s|\.bin$|.png"19:33
SuperMattah, found an easier way19:34
* kbingham holds breath :D19:34
SuperMattfor i in $(ls *.bin | sed -e "s|\.bin$||"); do mv $i{.bin,.png}; done19:35
kbinghamSuperMatt: Oh - no sorry - I need the names in a variable, as I'm passing the conversion through 'convert'19:36
kbinghamwell in fact - first a utility called raw2rgbpnm, then to png :D19:37
kbinghamSuperMatt: but thanks - I'll just stick with sed.19:37
SuperMatt+119:37
kbinghamSuperMatt: Frustratingly, busybox sh actually handles the bashism PNG=${FILE/bin/png}, and it's only because I want my script to work on my ubuntu host, in the same way that it does on my *embedded target* that I'm having to work around this :(19:38
* daftykins wonders how many times this task needs to be performed that such effort is being taken19:39
kbinghamdaftykins: On every output of an automated test :D19:39
davmor2kbingham: for i in `find /path/to/dir -name *.bin`; do <insert your convert command here>; done19:40
davmor2kbingham: if you don't wnat to run your convert command then you can just run do echo $i to see the output19:42
kbinghamdavmor2: Don't worry - here's the full context : http://paste.ubuntu.com/23564605/19:42
kbinghamI'm already using sed in the script - so it's not really an issue.19:42
daftykinsa friend of mine who lives and works up in England is speaking of a job for a web/software developer in Tunbridge Wells if anyone is interested19:45
=== james is now known as Guest5213
zmoylan-piah bugger, manuel from fawlty towers has died...22:19
diddledanzmoylan-pi: goddamit, 2016 is determined to keep it up for all 365 days!23:05
zmoylan-pibit of a scare earlier with buzz aldrin but he's been looked after now23:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!