[17:37] <_stink_> does anyone know if there's a way, in the linux filesystem, to have a node that is a transformed version of another node? [17:38] <_stink_> for example, i have a log file. i want to have a second file that when i read it, contains just entries from the original log file that meet some regex [17:39] <_stink_> kind of like a filtered, live view of the original file [17:39] <_stink_> i've searched around but found nothing useful yet [17:41] <_stink_> or maybe there's a long running grep-style thing... [17:58] I think you're looking for something like fuse for that [17:58] you'd need to write something to do that kind of a view though [18:33] not at the filesystem level by default, but you could write a VFS that does it. [18:33] since your original question was re: logfiles, you can get rsyslog to do it for you. [18:34] but it isn't virtual at that point. [19:53] I'm pretty sure there is a grep command that would write that into a file which you could make a cron job. Just can't call it too much or you might fill the partition. [20:13] _stink_: oh! a BG process to a socket! dammit... [20:13] !8ball should I write this for _stink_? [20:13] lol [20:43] hrm... it would be a little tricky on re-reads but _stink_ you said you like socat, right? :) [20:44] although, at that point, might as well make it an http api. :p [20:58] <_stink_> thanks for the ideas cmaloney jrwren Scary_Guy ! [20:59] <_stink_> the real application here is to simplify some already existing python code that reads a file and grabs the last line... i want it to only consider lines with a certain format [21:00] <_stink_> so i was hoping to offload it to some ready baked tool [21:00] <_stink_> but if it's a matter of writing a bg process or a VFS... i may as well just fix my python code :D [21:52] TIL: eatmydata and it is installed by default in ubuntu-server. I've no idea why. [22:09] anyone have ATT for data and think it is funny that they still use sbcglobal.com dns? [22:10] No but I know others who have it. [22:17] second hop or so to AWS is 162-225-188-1.lightspeed.livnmi.sbcglobal.net for me, and it makes me laugh sometimes [22:17] ATT bought SBC in 2005 [22:22] "If it ain't broke don't fix it"