Sentry support

My logging.yml contains the following:
appender:
console:
type: console
layout:
type: consolePattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_search_slow_log_file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}_index_search_slowlog.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_indexing_slow_log_file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

sentry:
type: net.kencochrane.sentry.SentryAppender
dsn: "http://XXX:YYY@mysentryserver.com/9"
threshold: ERROR

And I have set the root logger:
rootLogger: INFO, console, file, sentry

But when there is an error with elasticsearch I do not have any events
added to my sentry instance.

I have installed elasticsearch 0.90.0 from the home page and am running
sentry 5.4.5. Sentry and elasticsearch are working on different machines
but my django app is on the same machine as elasticsearch and it is
reporting fine.

I have not installed raven-java and I am not sure if I even need to.

Do I need to install raven-java and if so does anybody have a guide on how
to do this with elasticsearch.

Eamonn

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I have grabbed the following:

raven-4.0-20130509.125810-7.jar
raven-log4j-4.0-20130509.125829-7.jar
raven-logback-4.0-20130509.125843-7.jar

and have added them to:

/usr/share/elasticsearch/lib

and have restarted elasticsearch and I still have no joy.

On Thursday, 16 May 2013 10:15:54 UTC+1, Eamonn Faherty wrote:

My logging.yml contains the following:
appender:
console:
type: console
layout:
type: consolePattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_search_slow_log_file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}_index_search_slowlog.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_indexing_slow_log_file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

sentry:
type: net.kencochrane.sentry.SentryAppender
dsn: "http://XXX:YYY@mysentryserver.com/9"
threshold: ERROR

And I have set the root logger:
rootLogger: INFO, console, file, sentry

But when there is an error with elasticsearch I do not have any events
added to my sentry instance.

I have installed elasticsearch 0.90.0 from the home page and am running
sentry 5.4.5. Sentry and elasticsearch are working on different machines
but my django app is on the same machine as elasticsearch and it is
reporting fine.

I have not installed raven-java and I am not sure if I even need to.

Do I need to install raven-java and if so does anybody have a guide on how
to do this with elasticsearch.

Eamonn

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Eamonn,

Sentry should work as it is just a log4j appender. You do indeed need to
have the jars added. I think you have a configuration option. Can you try
sentry_dsn instead of "dsn" in your settings? worked for me in the past
(though in an xml based config).

Cheers,
Boaz

On Thursday, May 16, 2013 11:47:21 AM UTC+2, Eamonn Faherty wrote:

I have grabbed the following:

raven-4.0-20130509.125810-7.jar
raven-log4j-4.0-20130509.125829-7.jar
raven-logback-4.0-20130509.125843-7.jar

and have added them to:

/usr/share/elasticsearch/lib

and have restarted elasticsearch and I still have no joy.

On Thursday, 16 May 2013 10:15:54 UTC+1, Eamonn Faherty wrote:

My logging.yml contains the following:
appender:
console:
type: console
layout:
type: consolePattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_search_slow_log_file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}_index_search_slowlog.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_indexing_slow_log_file:
type: dailyRollingFile
file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

sentry:
type: net.kencochrane.sentry.SentryAppender
dsn: "http://XXX:YYY@mysentryserver.com/9"
threshold: ERROR

And I have set the root logger:
rootLogger: INFO, console, file, sentry

But when there is an error with elasticsearch I do not have any events
added to my sentry instance.

I have installed elasticsearch 0.90.0 from the home page and am running
sentry 5.4.5. Sentry and elasticsearch are working on different machines
but my django app is on the same machine as elasticsearch and it is
reporting fine.

I have not installed raven-java and I am not sure if I even need to.

Do I need to install raven-java and if so does anybody have a guide on
how to do this with elasticsearch.

Eamonn

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.