Project

General

Profile

Debugging Guide » History » Version 3

Luke Murphey, 11/17/2012 07:58 PM

1 1 Luke Murphey
h1. Debugging Guide
2 1 Luke Murphey
3 2 Luke Murphey
Below is a list of Splunk searches that are useful for debugging TextCritical.com:
4 1 Luke Murphey
5 1 Luke Murphey
*List of the works imported in the most recent import operation*
6 1 Luke Murphey
<pre>
7 3 Luke Murphey
  [ search sourcetype="django" "Analyzing directory for files to import"
8 3 Luke Murphey
    | head 1
9 3 Luke Murphey
    | rename _time AS earliest
10 3 Luke Murphey
    | eval latest=earliest + (3600 * 2)
11 3 Luke Murphey
    | fields earliest, latest | format "(" "(" "" ")" "OR" ")"
12 3 Luke Murphey
  ]
13 3 Luke Murphey
  | search sourcetype="django" "successfully imported work"
14 3 Luke Murphey
  | table title
15 1 Luke Murphey
</pre>