Questions tagged [grok]

Grok is a web framework running atop of Zope application server written in Python with aim to make Zope technology more accessible to the masses as well as speed up the development process. Exploiting convention-over-configuration paradigm, Grok uses Zope Toolkit libraries and provides building blocks for your application along with the way to tie it all together.

Grok is a web framework running atop of Zope application server written in Python with aim to make Zope technology more accessible to the masses as well as speed up the development process.

Exploiting convention-over-configuration paradigm Grok uses Zope Toolkit libraries and provides building blocks for your application along with the way to tie it all together.

Visit grok to learn more.

486 questions
-2
votes
1 answer

In Logstash how to extract substring in a bigger string?

Feeling difficulty in writing grok patterns.Please help I have GetIndicatorsByAnalysisProcessIDServlet service method is called and in this how to extract only GetIndicatorsByAnalysisProcess and text GetIndicatorsByAnalysisProcess will not be same…
Nagappa L M
  • 1,452
  • 4
  • 20
  • 33
-3
votes
4 answers

Trying to detect whether a variable/string is mixed case in Python

I'm trying to write a simple program that detects wether or not a string is upper case, lower case or mixed case. I tried x.ismixed but it doesn't work I have also tried x == mixed.case This is the code: x = input('Loud: ') if x.isupper(): …
B.G ._.
  • 65
  • 1
  • 7
-3
votes
3 answers

Python - Looping over a string

How would loop the word that a user can input like the example below in python. Enter a word: python (User can input any word) p py pyt pyth pytho python (Then it loops the word inputted by the user)
-3
votes
1 answer

regex match one instance of a pattern that repeats

Given the following regex /(500 Internal Server Error)/ How do we match only the 1st occurrence of this pattern in a single string that has many repeats of the same match? For example: Match 1 1. 500 Internal Server Error Match 2 1. 500 Internal…
bigoldrock
  • 57
  • 1
  • 6
-4
votes
1 answer

Regular expression for untypical parentheses

Example input: Ala ma kota (ASD defect - 7) kot ma ale. Ideal output: (ASD defect - 7) How to parse this text from parentheses?
-4
votes
1 answer

PHP's include_once is just a static "instance" of that file?

Reading over the documentation about include_once it basically says that the file in question won't be re-included if it's included already. Can I equate this in my head as a static instance of the script, or will this lead me to trouble down the…
Ben
  • 54,723
  • 49
  • 178
  • 224
1 2 3
32
33