Refine your search:

Hello,

We recently encountered an issue with a search that returned this error message:

[subsearch]: File '/opt/splunk/var/run/splunk/file_name.csv' could not be opened for reading.

While the fix was fairly simple, we would like to be notified when this type of issue starts in the future. I checked all of the index="_*" logs, and I do not see the error message. Is there a way for me to enable logging for this type of problem?

Thank you,

Jim

asked 28 Dec '11, 05:59

jamesdon's gravatar image

jamesdon
518
accept rate: 0%

edited 28 Dec '11, 06:00


2 Answers:

Have you tried looking at the S.o.S. App (Splunk on Splunk)... this is a diagnostics App for your Splunk installation there are a lot of useful searches/views here.

The S.o.S app can be found here... S.o.S - Splunk on Splunk on Splunkbase

This is an App created by Splunk themselves, and is very helpful for multiple troubleshooting tools. It builds on the information from your installation (conf files, logs, etc.).

Regards,

MHibbin

link

answered 28 Dec '11, 09:29

MHibbin's gravatar image

MHibbin
3.8k1312
accept rate: 31%

The SOS App uses logs in the _internal index, which I was searching before. However, when I looked again with a looser search, I found the cause - but not the error seen in the web browser. I'll play around with alerting based on log_level.

Thank you!

(28 Dec '11, 10:54) jamesdon

Jamesdon,

Good luck with this. I don't think you will always see the same error as in the logs... normally the logs would be for a "techie" and the web errors in a more human readable manner (for the general user)... As you probably already know :p

Regards,

MHibbin

(28 Dec '11, 14:08) MHibbin

check web_service.log

link

answered 28 Dec '11, 12:44

mayler's gravatar image

mayler
9118
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×356

Asked: 28 Dec '11, 05:59

Seen: 998 times

Last updated: 28 Dec '11, 14:08

Copyright © 2005-2012 Splunk Inc. All rights reserved.