hslogstash 0.2.0 → 0.2.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/Conduit/ElasticSearch.hs +1/−1
- hslogstash.cabal +1/−1
Data/Conduit/ElasticSearch.hs view
@@ -45,7 +45,7 @@ Nothing -> return $! Left (input, object [ "error" .= String "Time was not supplied" ]) Just (UTCTime day _) -> do let (y,m,d) = toGregorian day- req = defR2 { path = BSL.toStrict (E.encodeUtf8 (format "/logstash-{}-{}-{}/{}/" (y, left 2 '0' m, left 2 '0' d, logstashType input)))+ req = defR2 { path = BSL.toStrict (E.encodeUtf8 (format "/logstash-{}.{}.{}/{}/" (y, left 2 '0' m, left 2 '0' d, logstashType input))) , requestBody = RequestBodyLBS (encode input) } res <- liftIO $ safeQuery req
hslogstash.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: hslogstash-version: 0.2.0+version: 0.2.1 synopsis: A library to work with, or as, a logstash server description: This library contains a few modules that let you work with Logstash messages, read them from a Redis list, store them into Elasticsearch, and more. license: BSD3