Answer by warren for nested if loop in splunk

SPL doesn’t do "loops". A close [enough] analog is that each line in SPL is similar to a single command in bash (hence the pipe separator between commands). IOW, SPL is purely linear in processing. Use a multi-condition eval..if like this: index=ndx sourcetype=srctp | eval myfield=if(match(fieldA,"someval") AND !match(fieldC,"notthis"),"all true","else val") Or like this: | eval …
Continue reading Answer by warren for nested if loop in splunk

Favorite tweets

Feedback for recruiters and hiring managers: this kind of spam, where you pull stuff from Github or LinkedIn in what is obv. an automated fashion, reads as less sincere than an unpersonalized e-mail. If you’re not going to spend 20 seconds on the personalization, don’t do it. https://t.co/CdjW6A48MI — Dan Luu (@danluu) Aug 31, 2021 …
Continue reading Favorite tweets

“Unlike the movies where you don’t know whether there’s going to be a sequel until the final minutes when you groan as you see Sherlock and Watson get a clue for Moriarty’s next shenanigans, I’m telling you, there are going to be seven posts in a series” https://t.co/GGYUzcL67N https://t.co/oGTjqQztr4

“Unlike the movies where you don’t know whether there’s going to be a sequel until the final minutes when you groan as you see Sherlock and Watson get a clue for Moriarty’s next shenanigans, I’m telling you, there are going to be seven posts in a series” https://t.co/GGYUzcL67N https://t.co/oGTjqQztr4 — Warren Myers 🐧🐿 (@warrenmyers) Aug …
Continue reading “Unlike the movies where you don’t know whether there’s going to be a sequel until the final minutes when you groan as you see Sherlock and Watson get a clue for Moriarty’s next shenanigans, I’m telling you, there are going to be seven posts in a series” https://t.co/GGYUzcL67N https://t.co/oGTjqQztr4

“For each level of play — 2 players or 4 players — how can the players ensure that someone in the group always guesses correctly?” https://t.co/njr017ZKFY https://t.co/6nWTsF25Hs

“For each level of play — 2 players or 4 players — how can the players ensure that someone in the group always guesses correctly?” https://t.co/njr017ZKFY https://t.co/6nWTsF25Hs — Warren Myers 🐧🐿 (@warrenmyers) Aug 31, 2021 from Twitter https://twitter.com/warrenmyers August 31, 2021 at 04:04AM via IFTTT

Favorite tweets

Any opinions that are out of step with woke orthodoxy, these companies believe, should not be heard. They are the new guardians of morality. — Damian Wilson https://t.co/9JtFtTZXys — RT (@RT_com) Aug 31, 2021 from http://twitter.com/RT_com via IFTTT

Favorite tweets

@jordanbpeterson If they can decide on gender reassignment and vaccines then they should be able to get liquor and tobacco, and drive cars. Oh and make them work and pay taxes to earn their keep, nothing like a little child labour to round it all off. — Jarl of Swot (@JarlOfSwot) Aug 31, 2021 from …
Continue reading Favorite tweets

Favorite tweets

Now…when he says gender🤔 you think he’s thinking of anything more than two? https://t.co/Ql3gJP580t — The Chocolate Knox (@Chocolate_Knox) Aug 31, 2021 from http://twitter.com/Chocolate_Knox via IFTTT

Favorite tweets

@jordanbpeterson Imagine the consequences of that going forward. — Lazm🐻‍❄️🔱🎪🍕🔍 (@limpandazure) Aug 31, 2021 from http://twitter.com/limpandazure via IFTTT

Favorite tweets

sometimes when that top 40 country comes on you just gotta– https://t.co/I4LFRuDNt5 — Xyla Foxlin⚡ (@XylaFoxlin) Aug 31, 2021 from http://twitter.com/XylaFoxlin via IFTTT

Favorite tweets

#HurricaneIda is weakening, which is good news, but it still did a lot of damage. Looking down the eye from above gives perspective of how high these clouds are… Thinking of all those affected. Stay safe! #MissionAlpha https://t.co/Y8PGi4Rjqd — Thomas Pesquet (@Thom_astro) Aug 30, 2021 from http://twitter.com/Thom_astro via IFTTT

Favorite tweets

Political talking points tend to have a short shelf life. But what is happening in #Afghanistan goes far beyond politics, it’s a human rights atrocity. The Biden Administration will own the disaster from recent days, forever. Sadly, that won’t save or recover lost lives. Tragic. — John Walker (@WalkerJohnB) Aug 31, 2021 from http://twitter.com/WalkerJohnB via …
Continue reading Favorite tweets

Favorite tweets

@warrenmyers @theexceptioncat @gmail They must have forgotten it was there. — Eric Hydrick (@erichydrick) Aug 31, 2021 from http://twitter.com/erichydrick via IFTTT

Favorite tweets

Communists only have one playbook, but most people are dumb enough to get sucked into it repeatedly. https://t.co/KMgnJE8Lgj — James White (@DrOakley1689) Aug 31, 2021 from http://twitter.com/DrOakley1689 via IFTTT

Favorite tweets

Relativity lattice, 1953 #escher #mcescher https://t.co/IpzPMQMVP6 — M.C. Escher (@artistescher) Aug 30, 2021 from http://twitter.com/artistescher via IFTTT

Favorite tweets

Elections have consequences. Freedom demands wise choices. #Afghanistan — John Walker (@WalkerJohnB) Aug 30, 2021 from http://twitter.com/WalkerJohnB via IFTTT