This file is indexed.

/usr/bin/graphite-build-search-index is in graphite-web 0.9.12+debian-6.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# Jonas Genannt <jonas.genannt@capi2name.de>, 2012 for the Debian Project

set -e

INDEX_FILE_TMP=$(mktemp)

INDEX_FILE="/var/lib/graphite/search_index"
WHISPER_DIR="/var/lib/graphite/whisper"


cd ${WHISPER_DIR} && find -L . -name '*.wsp' | sed \
	-e 's@\.wsp$@@' \
	-e 's@^\./@@' \
	-e 's@/@.@g' > ${INDEX_FILE_TMP}

chmod 0640 ${INDEX_FILE_TMP}

mv -f ${INDEX_FILE_TMP} ${INDEX_FILE}
chown _graphite:_graphite ${INDEX_FILE}