# Sentry support

**URL:** <https://discuss.elastic.co/t/sentry-support/11992>\
**Category:** Elasticsearch\
**Created:** [May 16, 2013, 9:15am UTC](https://discuss.elastic.co/t/sentry-support/11992 "2013-05-16T09:15:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eamonn\_Faherty](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eamonn_faherty/32/2399_2.png) [@Eamonn\_Faherty](https://discuss.elastic.co/u/Eamonn_Faherty)\
**Post date:** [May 16, 2013, 9:15am UTC](https://discuss.elastic.co/t/sentry-support/11992/1 "2013-05-16T09:15:54Z")

</div>

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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Eamonn\_Faherty](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eamonn_faherty/32/2399_2.png) [@Eamonn\_Faherty](https://discuss.elastic.co/u/Eamonn_Faherty)\
**Post date:** [May 16, 2013, 9:47am UTC](https://discuss.elastic.co/t/sentry-support/11992/2 "2013-05-16T09:47:21Z")

</div>

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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [May 16, 2013, 3:30pm UTC](https://discuss.elastic.co/t/sentry-support/11992/3 "2013-05-16T15:30:53Z")

</div>

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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:36am UTC](https://discuss.elastic.co/t/sentry-support/11992/4 "2017-07-06T02:36:15Z")

</div>


