Logstash logs


(Arik Gaisler) #1

What is the default log level in logstash? how do I run with log level set
to error (meaning only errors shall be logged)

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Ivan Brusic) #2

I do not think there is a default log level in logstash. You can either
exclude events on the client or on the server side.

On the server side, you can simply apply a drop filter to your input:
http://logstash.net/docs/1.4.0/filters/drop

On the client side, it all depends on your application. For my
elasticsearch servers, I use the syslog appender in log4j, so the log level
is determined by the log4j configuration. For other servers, I use logstash
agents (still have to transition to the logstash forwarder), so I would
need to apply the same drop filter in the output.

Perhaps there is a default log level and someone can enlighten us both.

Cheers,

Ivan

On Fri, Mar 21, 2014 at 5:33 AM, Arik Gaisler arikgaisler@gmail.com wrote:

What is the default log level in logstash? how do I run with log level set
to error (meaning only errors shall be logged)

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAM8XEJ5j6Yo8Rx9dxVouXeO5G3te8eLFNqNoy4Zsx8EA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Otis Gospodnetić) #3

There is no such thing as default log level in Logstash, as far as I know.

Otis

Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/

tel: +1 347 480 1610 fax: +1 718 679 9190

On Friday, March 21, 2014 2:20:06 PM UTC-4, Ivan Brusic wrote:

I do not think there is a default log level in logstash. You can either
exclude events on the client or on the server side.

On the server side, you can simply apply a drop filter to your input:
http://logstash.net/docs/1.4.0/filters/drop

On the client side, it all depends on your application. For my
elasticsearch servers, I use the syslog appender in log4j, so the log level
is determined by the log4j configuration. For other servers, I use logstash
agents (still have to transition to the logstash forwarder), so I would
need to apply the same drop filter in the output.

Perhaps there is a default log level and someone can enlighten us both.

Cheers,

Ivan

On Fri, Mar 21, 2014 at 5:33 AM, Arik Gaisler <arikg...@gmail.com<javascript:>

wrote:

What is the default log level in logstash? how do I run with log level
set to error (meaning only errors shall be logged)

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f5146a23-ef07-479d-9754-55c0bf3e323b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #4

You can enable verbose logging in LS using the -v or -vv flags.
Otherwise check out the LS group - logstash-users@googlegroups.com

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 25 March 2014 12:27, Otis Gospodnetic otis.gospodnetic@gmail.com wrote:

There is no such thing as default log level in Logstash, as far as I know.

Otis

Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/

tel: +1 347 480 1610 fax: +1 718 679 9190

On Friday, March 21, 2014 2:20:06 PM UTC-4, Ivan Brusic wrote:

I do not think there is a default log level in logstash. You can either
exclude events on the client or on the server side.

On the server side, you can simply apply a drop filter to your input:
http://logstash.net/docs/1.4.0/filters/drop

On the client side, it all depends on your application. For my
elasticsearch servers, I use the syslog appender in log4j, so the log level
is determined by the log4j configuration. For other servers, I use logstash
agents (still have to transition to the logstash forwarder), so I would
need to apply the same drop filter in the output.

Perhaps there is a default log level and someone can enlighten us both.

Cheers,

Ivan

On Fri, Mar 21, 2014 at 5:33 AM, Arik Gaisler arikg...@gmail.com wrote:

What is the default log level in logstash? how do I run with log level
set to error (meaning only errors shall be logged)

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%
40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/ed8186e0-c413-44ff-b775-8868c790f70b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f5146a23-ef07-479d-9754-55c0bf3e323b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/f5146a23-ef07-479d-9754-55c0bf3e323b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624ZM0JrVaEGObie%2BBunDs6ujFtwQf%3DtJAR2pJz57w%2BQTOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #5