Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error page when testing Grok pattern #46

Open
bhapas opened this issue Aug 6, 2024 · 0 comments
Open

Error page when testing Grok pattern #46

bhapas opened this issue Aug 6, 2024 · 0 comments

Comments

@bhapas
Copy link

bhapas commented Aug 6, 2024

I encountered an error while testing Grok pattern. The copy of error:

Error page dump OUCH! I'm sorry, but you have encountered a bug or missing nice display of an error message in the application. If you can't guess the problem from the error message, please contact Hans-Peter Störr ([www.stoerr.net](http://www.stoerr.net/) [yu4cheem@techno.ms](mailto:yu4cheem@techno.ms)) with a copy of this page, or open an issue on https://github.com/stoerr/GrokConstructor/issues .

Please remember that you can always press the back button (and probably do a form resubmission) to fix what was wrong - there is no state on the server, only in the page shown in the browser.

Error message: java.lang.ArrayIndexOutOfBoundsException: -1

Time: Tue Aug 06 12:54:59 UTC 2024

RequestId: null

Request Info:
ReqInfo for 66b21d2300ff00ff1d09cbcbff000a0001737e67726f6b636f6e7374727563746f720001313000010103 : {
"_url":"/do/match",
"groklibs":[
"firewalls",
"aws",
"bro",
"exim",
"bind",
"haproxy",
"linux-syslog",
"squid",
"mcollective-patterns",
"bacula",
"postgresql",
"java",
"maven",
"grok-patterns",
"httpd",
"redis",
"nagios",
"rails",
"mongodb",
"ruby",
"mcollective",
"junos"
],
"loglines":[
"<134>1 1647479604.334549372 MX84_5 airmarshal_events type=rogue_ssid_detected ssid='' bssid='92:17:C8:C7:D8:51' src='92:17:C8:C7:D8:51' dst='6A:3A:3E:85:D9:F6' wired_mac='AC:17:C8:C7:D8:51' vlan_id='0' channel='6' rssi='23' fc_type='0' fc_subtype='5'"
],
"pattern":[
"(?(?:<%{INT:priority}>%{INT:version} %{NUMBER:timestamp} %{HOSTNAME:hostname} %{WORD:program}(?: %{WORD:event_type})? %{GREEDYDATA:data})|(?:<%{INT:priority}>%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:hostname} %{DATA:program} %{POSINT:msgid} %{INT:severity} %{INT:facility} %{TIMESTAMP_ISO8601:iso_timestamp} %{GREEDYDATA:message})|(?:%{TIMESTAMP_ISO8601:iso_timestamp} - \[%{DATA:process_id}\] %{DATA:process_name} \[%{DATA:pid_and_tid}\] %{GREEDYDATA:message})"
],
"submit":[
"Go!"
]
}

java.lang.ArrayIndexOutOfBoundsException: -1
at org.joni.Analyser.renumberByMap(Analyser.java:267)
at org.joni.Analyser.renumberByMap(Analyser.java:256)
at org.joni.Analyser.disableNoNameGroupCapture(Analyser.java:319)
at org.joni.Analyser.compile(Analyser.java:86)
at org.joni.Regex.(Regex.java:159)
at org.joni.Regex.(Regex.java:136)
at org.joni.Regex.(Regex.java:122)
at net.stoerr.grokconstructor.JoniRegex.liftedTree1$1(JoniRegex.scala:24)
at net.stoerr.grokconstructor.JoniRegex.(JoniRegex.scala:22)
at net.stoerr.grokconstructor.matcher.MatcherEntryView.showResult(MatcherEntryView.scala:67)
at net.stoerr.grokconstructor.matcher.MatcherEntryView$$anonfun$result$1.apply(MatcherEntryView.scala:62)
at net.stoerr.grokconstructor.matcher.MatcherEntryView$$anonfun$result$1.apply(MatcherEntryView.scala:62)
at scala.Option.map(Option.scala:146)
at net.stoerr.grokconstructor.matcher.MatcherEntryView.result(MatcherEntryView.scala:62)
at net.stoerr.grokconstructor.webframework.WebView$class.body(WebView.scala:34)
at net.stoerr.grokconstructor.webframework.WebViewWithHeaderAndSidebox.body(WebViewWithHeaderAndSidebox.scala:10)
at net.stoerr.grokconstructor.webframework.WebDispatcher.doGet(WebDispatcher.scala:69)
at net.stoerr.grokconstructor.webframework.WebDispatcher.doPost(WebDispatcher.scala:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)
at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:78)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.google.apphosting.runtime.jetty9.ParseBlobUploadHandler.handle(ParseBlobUploadHandler.java:125)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
at com.google.apphosting.runtime.jetty9.AppEngineWebAppContext.doHandle(AppEngineWebAppContext.java:289)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:123)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
at com.google.apphosting.runtime.jetty9.RpcConnection.handle(RpcConnection.java:269)
at com.google.apphosting.runtime.jetty9.RpcConnector.serviceRequest(RpcConnector.java:100)
at com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:234)
at com.google.apphosting.runtime.RequestRunner.dispatchServletRequest(RequestRunner.java:349)
at com.google.apphosting.runtime.RequestRunner.dispatchRequest(RequestRunner.java:234)
at com.google.apphosting.runtime.RequestRunner.run(RequestRunner.java:200)
at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:273)
at java.lang.Thread.run(Thread.java:750)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant