Graylog – Powershell WebSession
Just a quick way to export data from Graylog using Powershell You can set the query, the fields and the timerange within an URI After we just connect to the graylog with a websession
Just a quick way to export data from Graylog using Powershell You can set the query, the fields and the timerange within an URI After we just connect to the graylog with a websession
As we need to calculter user / CCU ratio, We were asked how many different users logged in the new env ? With our nxlog and graylog configuration ( here ), we start filtering on 8001 What can we do with those events ? It will be very interesting …
Why ? We looked for a way to add punctually and easily new monitoring, but, nothing that justify to add it in cacti or else. However, the idea of re-use “cacti-like graphs” has naturally imposed. In order to facilitate the use of RRDTool, we started to write a small powershell …
Due to some hotline call, we need to check if some server doesn’t execute a particular process. We start using this powershell script : As we have more than 300 servers in this Citrix Farm, we try to find a better way to do this check, using the “oneliner sequential …
We had to find a way to install package (hotfix or msi ) on our servers juste before the Citrix scheduled reboot, as we try to limit the effects on our users. We also want the script to be the most multi-purpose, then we decided to put all applicable actions …
Du to a prod incident, we had to check all the TSE/RDS mapping config on our farm. Of course, there is no way to do it manually on 200 servers … How can we do it with Powershell ? First, we need to find which are registry keys that are …
(Automate trad) In a previous post,we saw how list empty GPOs using GroupPolicy GPOReport module and then we briefly mentioned a second method to do so. We will now focus on this second method Why try another method ? The generation of a GPO report uses a lot of system …
Dans le post précédent , nous avons vu comment lister les GPOs Vide. La création de GPO avec des parties User ou Computer vide a un impact sur leurs traitements, d’ailleurs Citrix recommande dans son “Logon Optimization Guide” _ http://support.citrix.com/article/CTX128277 _ de désactiver les parties inutilisées d’une GPO. A partir …
Suite à la découverte d’une GPO vide, nous nous sommes demandé combien nos admins en avaient créé. Il était bien sur hors de question de vérifier à la main et une par une les très nombreuse GPO de notre ActiveDirectory. Du coup, goto powershell! En utilisant le module GroupPolicy, nous …
En discutant avec Axel Limousin à propos d’un script qui utilisait l’opérateur -split, nous nous sommes interrogés sur une éventuelle différence de performance entre l’opérateur et la méthode Split(). Contexte En partant d’un tableau contenant presque 40000 valeurs, nous effectuons 2 splits par ligne : Opérations Nous voyons que l’opérateur …