How to import log file from local file

How i can import my old log file to graylog

You can use any log shipper, such as Logstash, Filebeat, or nxlog, for this.

If you want to configure them via Graylog, you can deploy the Graylog Collector Sidecar: http://docs.graylog.org/en/2.2/pages/collector_sidecar.html