'change to promtail yaml config not reflected in grafana/loki

I've made a revision to a /usr/local/bin/config-promtail.yaml file on server a, something like this:

  - job_name: error_file
    static_configs:
      - targets:
          - localhost
        labels:
          job: bridge_errors
          __path__: home/user/logs/new_error_file.json
          host: server_a

where 'new_error_file.json' used to be 'old_error_file.json'. This is sending the logs to Loki/Grafana running on server b. I could see the old error file(s) in the Loki data adapter in Grafana just fine, but then updated the file name in the yaml config, as above, restarted the Promtail service and...nothing. The new files are not showing up. I can check the status of the service and can see " level=info msg="Seeked..." entries for the new file, so it's working at least as far as the Promtail service in concerned. Any ideas?? I'm a bit new to Grafana (like, only a couple days' in), so am probably missing something?? Thanks for any assistance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source