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
-1
votes
1 answer

Is it possible to create a AWS glue classifier which can convert the csv file to pipe delimited

I would like to convert a monthly feed to convert from csv to pipe delimited using AWS Glue Crawler. Is it possible to create a classifier which can convert csv file to pipe delimited (Using Grok or something) and monthly scheduled crawler can…
Juhan
  • 1,283
  • 2
  • 11
  • 30
-1
votes
2 answers

{TypeError: unsupported operand type(s) for +: 'int' and 'str'} with input

I am new to python and I was learning with Grok, but I got stuck on this part money = input("Enter the expenses: ") addup = money.split() total = sum(addup) print("Total: ", total)
Oscar Lam
  • 1
  • 1
  • 2
-1
votes
1 answer

logstash custom log that has xml tags inside

I have a custom log file that has plain text as well as xml tags. How do i capture these in separate fields. Here is how it looks like: 1/10/2017 4:16:35 AM : Error thrown is: No Error Request sent is: SCEO415154712 Response received…
noobtoPro
  • 59
  • 1
  • 8
-1
votes
2 answers

Grok pattern for logs sent to logstash

I have haproxy logs that need to be sent to logstash, I am trying to grok the captured request headers. Can you please suggest the grok pattern? Here is section of log that has the…
-1
votes
2 answers

Grok failing on brackets

I'm getting a consistent grok failure on brackets. I've escaped the bracket with a '\'. I've also tried to fool it with wildcards. Grok debugger parses correctly, but fails to parse in production. I have two other entries that are exhibiting the…
-1
votes
1 answer

What is the GROK pattern for this log?

Can anyone please tell me the GROK pattern for this log I am new to Logstash. Any help is appreciated : "ppsweb1 [ERROR] [JJN01234313887b4319ad0536bf6324j34h5469624340M] [913h56a5-e359-4a75-be9a-fae60d1a5ecb] 2016-07-28 13:14:58.848…
Shamik Mukherjee
  • 51
  • 1
  • 1
  • 3
-1
votes
1 answer

Logstash apache illegal_argument_exception Invalid format

I'm getting the illegal_argument_exception error when logstash handles my apache events. Here is the error: {"type"=>"illegal_argument_exception", "reason"=>"Invalid format: \"15/Feb/2016:14:56:59 -0500\" is malformed at \"/Feb/2016:14:56:59…
mako_reactor
  • 121
  • 1
  • 5
-1
votes
1 answer

Trying to create grok pattern for my logs, but unsure how to escape special charaters

07:40:28,339 INFO [org.sprinframework.web.context.ContxtLoader] (ServerService Thread Pool -- 672) WebApplicationContext: initialization started I wrote the pattern like this grok { match => { "message" =>…
-1
votes
2 answers

Parsing multiline log file in Logstash

I am having a log file as mentioned below. I want to parse this file using logstash. 2015-06-10 05:11:37,799 [good][status] [ErrorAttribute - AN EXCEPTION OCCURED: Exception Occured1 Exception Occured1 Exception Occured1 Exception…
Mangoski
  • 2,058
  • 5
  • 25
  • 43
-1
votes
1 answer

Grok pattern matches but result also contains pattern

I'm using HerokuApp to create a reg_exp that matches the content of xml. I'm not trying to parse xml but only to extract it.
vdolez
  • 977
  • 1
  • 14
  • 33
-2
votes
1 answer

Regex: Grab the string between the 4th and 5th colon

I'm trying to find a regex that will grab the string between the 4th and 4th colon. Example event: cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* Expected outcome: libexpat Solution: I used GROK to parse this…
JeremyP
  • 17
  • 4
-2
votes
1 answer

Can I have a grok expression to have only internal id and hostname?

Can you write a grok expression for the following requirement: We have 3 types of events, as shown below: 08D7119FBFEC19B7;250 2.6.0 [InternalId=669077,Hostname=Abcd]…
sreekanth
  • 31
  • 5
-2
votes
2 answers

Regex pattern match failure

I am not able to match a pattern in logstash grok. Here is my data: some words key[value]some words in between key[value] key[value]....some more words I want to match a pattern key[value] key[value] i.e. two consecutive key values with space in…
Ravi
  • 21
  • 1
-2
votes
1 answer

Python - Words in a file: color or colour? (Grok Learning)

This is a problem on Introduction to Programming 2 on Grok Learning that I am having some trouble with this so please be simple in your coding as I'm new. The problem is as follows: Write a program that reads in a word (e.g. colour or color) and…
-2
votes
1 answer

logstash grok patterns assistance

I really need some help parsing the below log and matching with grok Mar 19 17:23:12:00 Alert - Traffic Gap Detected - severity[Alert] source[Text1/Text2] reason[MajorSet] count[1] value[1] I want similar to this: timesamp:Mar 19…
momo
  • 1
1 2 3
32
33
cas1 cas2
new line